diff options
author | 2019-03-24 18:16:59 -0700 | |
---|---|---|
committer | 2019-03-24 19:07:41 -0700 | |
commit | 6d9229464a965c39c37bdbfe5156a866ccad2208 (patch) | |
tree | ce1466214a267fb9331340486c507034381e173b | |
parent | Docker: Replace tini with Docker's built-in init feature (diff) |
Docker: Disable pip cache & set env vars
-rw-r--r-- | docker/Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index c424af5a..fa34c02b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,8 +5,12 @@ RUN mkdir /bot COPY . /bot WORKDIR /bot -ENV LIBRARY_PATH=/lib:/usr/lib \ - PIPENV_VENV_IN_PROJECT=1 +ENV LIBRARY_PATH="/lib:/usr/lib" \ + PIP_NO_CACHE_DIR="false" \ + PIPENV_DONT_USE_PYENV="1" \ + PIPENV_HIDE_EMOJIS="1" \ + PIPENV_IGNORE_VIRTUALENVS="1" \ + PIPENV_NOSPIN="1" RUN pip install pipenv RUN pipenv install --deploy --system |