aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.base
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.base')
-rw-r--r--Dockerfile.base20
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile.base b/Dockerfile.base
new file mode 100644
index 00000000..c5234997
--- /dev/null
+++ b/Dockerfile.base
@@ -0,0 +1,20 @@
+FROM python:3.6-alpine
+
+RUN apk add --update tini
+RUN apk add --update git
+RUN apk add --update build-base
+
+ENV PIPENV_VENV_IN_PROJECT=1
+ENV PIPENV_IGNORE_VIRTUALENVS=1
+ENV PIPENV_NOSPIN=1
+ENV PIPENV_HIDE_EMOJIS=1
+
+RUN pip install pipenv
+
+RUN mkdir /site
+COPY Pipfile /site
+COPY Pipfile.lock /site
+WORKDIR /site
+ENV PYTHONPATH=/site
+
+RUN pipenv sync