aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-02-21 16:30:29 -0800
committerGravatar GitHub <[email protected]>2020-02-21 16:30:29 -0800
commit0441ffde777c1e46486c978e24a8d4564b7c2d1d (patch)
treea0133bdfa0f771ef9418ecbee550a8ea12625aec /docker
parentMerge pull request #55 from python-discord/proper-chroot (diff)
parentCI: install Pipfile into system interpreter (diff)
Merge pull request #62 from python-discord/bug/ci/61/python-symlink-not-resolving
Install Pipfile into system interpreter
Diffstat (limited to 'docker')
-rw-r--r--docker/venv.Dockerfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/docker/venv.Dockerfile b/docker/venv.Dockerfile
index b415430..fe5b10d 100644
--- a/docker/venv.Dockerfile
+++ b/docker/venv.Dockerfile
@@ -4,10 +4,14 @@ ARG DEV
ENV PIP_NO_CACHE_DIR=false \
PIPENV_DONT_USE_PYENV=1 \
PIPENV_HIDE_EMOJIS=1 \
- PIPENV_NOSPIN=1 \
- PIPENV_VENV_IN_PROJECT=1
+ PIPENV_NOSPIN=1
COPY Pipfile Pipfile.lock snekbox.cfg /snekbox/
WORKDIR /snekbox
-RUN if [ -n "${DEV}" ]; then pipenv sync --dev; else pipenv sync; fi
+RUN if [ -n "${DEV}" ]; \
+ then \
+ pipenv install --deploy --system --dev; \
+ else \
+ pipenv install --deploy --system; \
+ fi