diff --git a/Dockerfile b/Dockerfile index 72eb5668..7c3a9dd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,12 @@ -FROM python:3.5 +FROM alpine:3.4 + +# from https://github.com/frol/docker-alpine-python3 +RUN apk add --no-cache python3 && \ + python3 -m ensurepip && \ + rm -r /usr/lib/python*/ensurepip && \ + pip3 install --upgrade pip setuptools && \ + rm -r /root/.cache + ADD . /code WORKDIR /code RUN pip install gunicorn