diff options
author | 2018-04-29 20:03:50 +0200 | |
---|---|---|
committer | 2018-04-29 20:03:50 +0200 | |
commit | f57942f2575dc26c9487688ded773a0abdab5c61 (patch) | |
tree | d39039c85b361c199c7dd77e4d02fb1a14082054 /Dockerfile.base | |
parent | [Wiki] Dumb CSS typo (diff) |
pipenv and dockerfile (#62)
pipenv and dockerfile
Diffstat (limited to 'Dockerfile.base')
-rw-r--r-- | Dockerfile.base | 20 |
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 |