[MapCareTech] Mount settings instead of copying in image

parent 1ce622b3
......@@ -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" ]
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment