mailcow/data/Dockerfiles/dockerapi/Dockerfile

14 lines
406 B
Docker
Raw Normal View History

2019-02-05 00:01:31 +01:00
FROM alpine:3.9
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
2019-05-20 21:27:47 +02:00
WORKDIR /app
RUN apk add -U --no-cache python3 tzdata python3-dev gcc musl-dev openssl-dev libffi-dev openssl\
&& pip3 install --upgrade pip \
&& pip3 install --upgrade docker flask flask-restful pyOpenSSL \
&& apk del python3-dev gcc musl-dev openssl-dev libffi-dev
COPY server.py /
2019-05-20 21:27:47 +02:00
CMD ["python3", "-u", "/server.py"]