aboutsummaryrefslogtreecommitdiffstats
path: root/docker/bot.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/bot.Dockerfile')
-rw-r--r--docker/bot.Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/bot.Dockerfile b/docker/bot.Dockerfile
index 4713e1f0e..5a07a612b 100644
--- a/docker/bot.Dockerfile
+++ b/docker/bot.Dockerfile
@@ -5,10 +5,13 @@ ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIPENV_NOSPIN=1
ENV PIPENV_HIDE_EMOJIS=1
+RUN pip install -U pipenv
+
+RUN mkdir -p /bot
COPY . /bot
WORKDIR /bot
-RUN pipenv install --deploy --system
+RUN pipenv install --deploy
ENTRYPOINT ["/sbin/tini", "--"]
-CMD ["python", "-m", "bot"]
+CMD ["pipenv", "run", "start"]