diff --git a/caretech/map/Dockerfile b/caretech/map/Dockerfile index 12241659015468ea09e2fb718d89b42e2851bd09..9a8849ad973ada0ae0e417afe41e256e79b587df 100644 --- a/caretech/map/Dockerfile +++ b/caretech/map/Dockerfile @@ -44,15 +44,14 @@ RUN pip install umap-project==${UMAP_VERSION} # Install Docker dependencies RUN pip install -r requirements-docker.txt -COPY settings.py . -COPY entrypoint.sh . +COPY entrypoint.sh / -RUN chmod +x entrypoint.sh +RUN chmod +x /entrypoint.sh RUN chown -R 10001:10001 /srv/umap USER umap EXPOSE 8000 -ENTRYPOINT [ "/srv/umap/entrypoint.sh" ] +ENTRYPOINT [ "/entrypoint.sh" ] CMD [ "umap", "runserver", "0.0.0.0:8000" ] diff --git a/caretech/map/docker-compose.yml b/caretech/map/docker-compose.yml index 62d41fe0e69b4ea1ae1c769909aceb0117110ab5..29298258db0861fc921b6f5439532580a23c7dd7 100644 --- a/caretech/map/docker-compose.yml +++ b/caretech/map/docker-compose.yml @@ -30,6 +30,7 @@ services: volumes: - app_static:/srv/umap/static - app_uploads:/srv/umap/uploads + - ./settings.py:/srv/umap/settings.py init: true labels: traefik.http.routers.etherpad-app.entrypoints: websecure