Several improvements to Docker:

- ability to reload configuration files without building again the images
- faster images building
- corrected a mistake
- logs are saved to the main host
This commit is contained in:
Francesco Borzì
2019-01-13 02:38:04 +01:00
committed by GitHub
parent 05d03747be
commit 0e87deb416
12 changed files with 3489 additions and 20 deletions

View File

@@ -1,11 +1,7 @@
FROM ubuntu:bionic
COPY --from=azerothcore/build:latest /azeroth-server /azeroth-server
COPY authserver.conf.dist /azeroth-server/etc/authserver.conf
COPY authserver.conf /azeroth-server/etc/authserver.conf
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.* libace-dev;
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.* libace-dev; \
rm /azeroth-server/etc/worldserver.conf.dist; \
mkdir /azeroth-server/logs;
COPY --from=azerothcore/build:latest /azeroth-server/bin /azeroth-server/bin
CMD ["/azeroth-server/bin/authserver"]