Files
kops-arm64/Dockerfile
Henning Jacobs e5be9d0d0c fix Dockerfile
2016-12-19 14:56:20 +01:00

23 lines
541 B
Docker

FROM alpine:3.4
RUN \
apk add --no-cache python3 python3-dev alpine-sdk zlib-dev libffi-dev openssl-dev && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools gevent && \
apk del python3-dev alpine-sdk zlib-dev libffi-dev openssl-dev && \
rm -rf /var/cache/apk/* /root/.cache /tmp/*
EXPOSE 8080
COPY requirements.txt /
RUN pip3 install -r /requirements.txt
COPY app.py /
COPY templates /templates
COPY static /static
COPY swagger.yaml /
WORKDIR /
CMD /app.py