diff options
author | 2020-11-18 13:59:08 +0100 | |
---|---|---|
committer | 2020-11-18 13:59:30 +0100 | |
commit | cecad91334473652726d940426d26be7c23464e4 (patch) | |
tree | ccb677cc361f95fb401834ea721c6ad172477b05 /docker/venv.Dockerfile | |
parent | Use correct conditional expression for prod steps (diff) |
Update files according to new CI setupsebastiaan/backend/cache-docker-images
Diffstat (limited to 'docker/venv.Dockerfile')
-rw-r--r-- | docker/venv.Dockerfile | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/venv.Dockerfile b/docker/venv.Dockerfile deleted file mode 100644 index 27932cd..0000000 --- a/docker/venv.Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM ghcr.io/python-discord/snekbox-base:latest - -ARG DEV -ENV PIP_NO_CACHE_DIR=false \ - PIPENV_DONT_USE_PYENV=1 \ - PIPENV_HIDE_EMOJIS=1 \ - PIPENV_NOSPIN=1 - -COPY Pipfile Pipfile.lock /snekbox/ -WORKDIR /snekbox - -RUN if [ -n "${DEV}" ]; \ - then \ - pipenv install --deploy --system --dev; \ - else \ - pipenv install --deploy --system; \ - fi - -# At the end to avoid re-installing dependencies when only a config changes. -COPY config/ /snekbox/config |