diff options
author | 2021-01-11 22:14:29 -0800 | |
---|---|---|
committer | 2021-01-11 22:20:07 -0800 | |
commit | 528ac7d750aeeb6daba1826b5f1d6c246a93b0a4 (patch) | |
tree | 5f52c6a2ec20b22084f074e950cbd0f46c794e39 | |
parent | Force extant packages to install to the user site too during deployment (diff) |
Docker: move env var definitions to the base stage
Just a refactor.
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,11 @@ WORKDIR /nsjail RUN make FROM python:3.9-slim-buster as base -ENV PIP_NO_CACHE_DIR=false +ENV PIP_NO_CACHE_DIR=false \ + PIPENV_DONT_USE_PYENV=1 \ + PIPENV_HIDE_EMOJIS=1 \ + PIPENV_NOSPIN=1 \ + PYTHONUSERBASE=/snekbox/user_base RUN apt-get -y update \ && apt-get install -y \ |