Commit 6ab4a53e authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'optimise_dockerfile' into 'master'

Dockerfile: Move statics such as entrypoint up in the build

See merge request !437
parents f30020ee 60593638
......@@ -9,6 +9,10 @@ ENV DJANGO_PRODUCTION 1
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND=noninteractive
# Set up entrypoint and command
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["--help"]
# Create /concrexit dir
# Create log dir and log file
# Create app dir
......@@ -43,6 +47,3 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
# copy app source
COPY website /usr/src/app/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["--help"]
Supports Markdown
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