aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.base
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.base')
-rw-r--r--Dockerfile.base13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile.base b/Dockerfile.base
index b74be598e..32d017540 100644
--- a/Dockerfile.base
+++ b/Dockerfile.base
@@ -3,5 +3,18 @@ FROM python:3.6-alpine
RUN apk add --update tini
RUN apk add --update build-base
RUN apk add --update libffi-dev
+RUN pip install pipenv
+
+RUN mkdir /bot
+COPY Pipfile /bot
+COPY Pipfile.lock /bot
+WORKDIR /bot
+
+ENV PIPENV_VENV_IN_PROJECT=1
+ENV PIPENV_IGNORE_VIRTUALENVS=1
+ENV PIPENV_NOSPIN=1
+ENV PIPENV_HIDE_EMOJIS=1
+
+RUN pipenv install
# usage: FROM pythondiscord/bot-base:latest