aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 19:33:19 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 19:33:19 +0000
commit7787111068fb50159be1a93865133a21df2ab916 (patch)
tree7c51833a35d28caad8afa4595db39d406b714500
parentSync doesn't have --deploy (diff)
Pipenv: Back to install, add PIPENV_SKIP_LOCK
-rw-r--r--docker/bot.Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/bot.Dockerfile b/docker/bot.Dockerfile
index 362a19617..b85550e67 100644
--- a/docker/bot.Dockerfile
+++ b/docker/bot.Dockerfile
@@ -4,11 +4,12 @@ ENV PIPENV_VENV_IN_PROJECT=1
ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIPENV_NOSPIN=1
ENV PIPENV_HIDE_EMOJIS=1
+ENV PIPENV_SKIP_LOCK=1
COPY . /bot
WORKDIR /bot
-RUN pipenv sync --system
+RUN pipenv install --deploy --system
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["python", "-m", "bot"]