aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/venv.Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/venv.Dockerfile b/docker/venv.Dockerfile
index 61aba58..85188fd 100644
--- a/docker/venv.Dockerfile
+++ b/docker/venv.Dockerfile
@@ -1,5 +1,6 @@
FROM pythondiscord/snekbox-base:latest
+ARG DEV
ENV PIP_NO_CACHE_DIR=false \
PIPENV_DONT_USE_PYENV=1 \
PIPENV_HIDE_EMOJIS=1 \
@@ -9,4 +10,4 @@ ENV PIP_NO_CACHE_DIR=false \
COPY Pipfile Pipfile.lock /snekbox/
WORKDIR /snekbox
-RUN pipenv sync
+RUN if [ -n "${DEV}" ]; pipenv sync --dev; then pipenv sync; fi