diff options
author | 2019-03-24 18:45:46 -0700 | |
---|---|---|
committer | 2019-03-24 19:07:41 -0700 | |
commit | 63d1eac4b7e8ad030932543ab9bb7340ef044faf (patch) | |
tree | 730293e704cde10ed2c237d5f07d6154546ec2ee | |
parent | Docker: Add freetype-dev & replace libjpeg with libjpeg-turbo (diff) |
Docker: Update base image to Python 3.7.2
pip has to be at least version 19.0.2, which fixes a
have_directory_for_build AssertionError when installing with
PIP_NO_CACHE_DIR set. The updated image comes with pip 19.0.3.
See pypa/pip#6219 for more info.
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 678099bd..a12d6497 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7-alpine3.7 +FROM python:3.7.2-alpine3.9 ENV LIBRARY_PATH="/lib:/usr/lib" \ PIP_NO_CACHE_DIR="false" \ @@ -15,12 +15,11 @@ RUN apk add --no-cache --update \ freetype-dev \ libjpeg-turbo-dev \ zlib-dev +RUN pip install pipenv -RUN mkdir /bot COPY . /bot WORKDIR /bot -RUN pip install pipenv RUN pipenv install --deploy --system ENTRYPOINT ["python"] |