Skip to content

Commit

Permalink
fix: don't cache python files and disable pip version check
Browse files Browse the repository at this point in the history
Closes: #20
  • Loading branch information
b1rger committed Nov 22, 2023
1 parent 52f9dd6 commit cf2fdaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ ENV PYTHONDONTWRITEBYTECODE 1
# without being first buffered and that you can see the output of your application (e.g. django logs)
# in real time. Equivalent to python -u: https://docs.python.org/3/using/cmdline.html#cmdoption-u
ENV PYTHONUNBUFFERED 1
# don't cache downloaded pip packages
ENV PIP_NO_CACHE_DIR=1
# disable version check of pip
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
ENV ENVIRONMENT prod
ENV TESTING 0

Expand Down

0 comments on commit cf2fdaf

Please sign in to comment.