From a415d599129a1f69b48da2a09efff48177c24064 Mon Sep 17 00:00:00 2001 From: tinpee Date: Tue, 20 Dec 2016 05:55:44 +0700 Subject: [PATCH 1/2] update pip in Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b5b08f38..f10536f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ MAINTAINER Tinpee ADD . /src WORKDIR /src -RUN pip install flask gunicorn +RUN pip install --upgrade pip \ + && pip install flask gunicorn COPY entrypoint.sh / RUN chmod +x /entrypoint.sh From 120225ae4c5d864a1b217e55cab7795064a2186c Mon Sep 17 00:00:00 2001 From: tinpee Date: Tue, 20 Dec 2016 06:08:12 +0700 Subject: [PATCH 2/2] use explicitly python 3.5 image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f10536f2..b395fe14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python +FROM python:3.5 MAINTAINER Tinpee ADD . /src