From bb8b4e2eb4191dea1dc1c17e621b12519252f8d7 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Wed, 11 Jan 2023 15:47:41 -0800 Subject: [PATCH] Only provide local.json via volume Signed-off-by: James Ketrenos --- Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce0b84f..426225f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,6 @@ COPY /scanner /website/scanner COPY /server /website/server COPY /frontend /website/frontend COPY /db /website/db -COPY /config /website/config +COPY /config/default.json /website/config/default.json CMD [ "/entrypoint.sh" ] diff --git a/docker-compose.yml b/docker-compose.yml index 3bb75f0..437ba44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,6 @@ services: volumes: - ${PICTURES}:/pictures - ${PWD}/db:/db - - ${PWD}/config:/website/config + - ${PWD}/config/local.json:/website/config/local.json # - ${PWD}:/website - ${PWD}/models:/root/.deepface