From 264fb6209edcb566032e244afb6231c8da496c2f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 25 Sep 2018 04:08:41 -0400 Subject: [PATCH] have docker use python3.7 --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09b67a7b..794cfe11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,15 @@ FROM heroku/heroku:18-build -# -- Install Pipenv: -RUN apt update && apt install python3-pip -y && pip3 install pipenv - +ENV DEBIAN_FRONTEND noninteractive ENV LC_ALL C.UTF-8 ENV LANG C.UTF-8 +# -- Install Pipenv: +RUN apt update && apt upgrade -y && apt install python3.7-dev -y +RUN curl --silent https://bootstrap.pypa.io/get-pip.py | python3.7 + +RUN pip3 install pipenv + # -- Install Application into container: RUN set -ex && mkdir /app