aboutsummaryrefslogtreecommitdiffstats
path: root/docker/venv.Dockerfile
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 13:59:08 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-18 13:59:30 +0100
commitcecad91334473652726d940426d26be7c23464e4 (patch)
treeccb677cc361f95fb401834ea721c6ad172477b05 /docker/venv.Dockerfile
parentUse 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.Dockerfile20
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