Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve caching
  • Loading branch information
tdemin committed Dec 23, 2019
1 parent e02b218 commit d1798b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -8,7 +8,6 @@ ENV UWSGI_THREADS 2
COPY requirements.txt setup.py setup.cfg /app/
COPY bin /app/bin
COPY --chown=0:0 doc/config.json.example /etc/amber.json
COPY project_amber /app/project_amber

# we do not remove postgresql-dev after installation, as psycopg2 needs libpq
# present on the system
Expand All @@ -20,5 +19,7 @@ RUN adduser -D -u 1000 amber && \
apk del build-base libffi-dev && \
chmod +x /app/bin/run_uwsgi.sh

COPY project_amber /app/project_amber

USER amber
CMD [ "sh", "/app/bin/run_uwsgi.sh" ]

0 comments on commit d1798b2

Please sign in to comment.