Lighten up the python3 base image (alpine) (#171)

Saves 241 MB from the base example image, bringing things down to 242MB in total.
This commit is contained in:
syassami
2017-04-21 11:15:52 -07:00
committed by Soam Vasani
parent 01b399187e
commit 1abe961869
+4 -3
View File
@@ -1,8 +1,9 @@
FROM ubuntu:16.04
FROM alpine:3.5
RUN apt-get update -y
RUN apt-get install -y python3 python3-pip python3-dev build-essential
RUN apk update
RUN apk add --no-cache python3 python3-dev build-base
RUN pip3 install --upgrade pip
RUN rm -r /root/.cache
COPY . /app
WORKDIR /app