aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/base.Dockerfile (renamed from docker/Dockerfile.base)2
-rw-r--r--docker/bot.Dockerfile (renamed from docker/Dockerfile)6
2 files changed, 3 insertions, 5 deletions
diff --git a/docker/Dockerfile.base b/docker/base.Dockerfile
index 2f6929e0d..de2c68c13 100644
--- a/docker/Dockerfile.base
+++ b/docker/base.Dockerfile
@@ -22,6 +22,6 @@ ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIPENV_NOSPIN=1
ENV PIPENV_HIDE_EMOJIS=1
-RUN pipenv install
+RUN pipenv install --deploy --system
# usage: FROM pythondiscord/bot-base:latest
diff --git a/docker/Dockerfile b/docker/bot.Dockerfile
index 2db1ee24a..4713e1f0e 100644
--- a/docker/Dockerfile
+++ b/docker/bot.Dockerfile
@@ -5,12 +5,10 @@ ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIPENV_NOSPIN=1
ENV PIPENV_HIDE_EMOJIS=1
-RUN pip install pipenv
-
COPY . /bot
WORKDIR /bot
-RUN pipenv sync
+RUN pipenv install --deploy --system
ENTRYPOINT ["/sbin/tini", "--"]
-CMD ["pipenv", "run", "start"]
+CMD ["python", "-m", "bot"]