From fb668b582df693a3c8f6ba885f4dfc9e630b4d32 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 17 Mar 2017 12:55:46 -0400 Subject: [PATCH] updated dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c90c05..61e3efe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ -FROM ubuntu:trusty +FROM alpine:3.5 ENV WEB_CONCURRENCY=4 ADD . /httpbin -RUN apt-get update -y && apt-get -y install python-pip && pip install gunicorn && pip install /httpbin +RUN apk add --update python python-dev py-pip build-base ca-certificates libffi-dev +RUN pip install --upgrade pip +RUN pip install gunicorn && pip install /httpbin EXPOSE 8080