summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2023-01-24 14:35:43 +0100
committerGitHub <noreply@github.com>2023-01-24 14:35:43 +0100
commit3202158af1e2875162eaeb828a5fd78e7702b091 (patch)
treef0bbce2f9b3ed8ae4a9b3c321ee1a883b11608e5 /apps
parent8dc7c4bf91f8bc327e510c0e44dceee1543a6f93 (diff)
fix(docker): missing config file in dev image (#14753)
<!-- First of all, THANK YOU for your contribution. --> ## Changes Proposed: When we create the dev image we do not have the .dockerdist file under the etc folder. The ac-dev-server included in the azerothcore-wotlk repository bind the /env/docker/etc folder inside the container, but the acore-docker repository doesn't. That's why we are having the error in that project. This happened after the latest changes: * https://github.com/azerothcore/azerothcore-wotlk/pull/14707 * https://github.com/azerothcore/azerothcore-wotlk/pull/14747 Closes https://github.com/azerothcore/acore-docker/issues/12
Diffstat (limited to 'apps')
-rw-r--r--apps/docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/docker/Dockerfile b/apps/docker/Dockerfile
index a425f174c2..a0b02e7461 100644
--- a/apps/docker/Dockerfile
+++ b/apps/docker/Dockerfile
@@ -94,6 +94,11 @@ USER $DOCKER_USER
# NOTE: this folder is different by the /azerothcore (which is binded instead)
COPY --chown=$DOCKER_USER:$DOCKER_USER . /azerothcore
+# Needed if we use the dev image without linking any external folder (e.g. acore-docker)
+COPY --chown=$DOCKER_USER:$DOCKER_USER env/docker/etc/authserver.conf.dockerdist /azerothcore/env/dist/etc/authserver.conf.dockerdist
+COPY --chown=$DOCKER_USER:$DOCKER_USER env/docker/etc/worldserver.conf.dockerdist /azerothcore/env/dist/etc/worldserver.conf.dockerdist
+COPY --chown=$DOCKER_USER:$DOCKER_USER env/docker/etc/dbimport.conf.dockerdist /azerothcore/env/dist/etc/dbimport.conf.dockerdist
+
#================================================================
#
# SERVICE BASE: prepare the OS for the production-ready services