1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile

14 lines
406 B
Docker
Raw Normal View History

2019-02-05 01:01:31 +02: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"]