mailcow/data/Dockerfiles/dockerapi/Dockerfile

13 lines
298 B
Docker
Raw Normal View History

2019-02-05 07:01:31 +08:00
FROM alpine:3.9
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
2019-05-21 03:27:47 +08:00
WORKDIR /app
2019-05-22 01:51:03 +08:00
RUN apk add --update --no-cache python3 openssl tzdata \
&& pip3 install --upgrade pip \
2019-05-22 01:58:18 +08:00
&& pip3 install --upgrade docker flask flask-restful
2019-05-22 01:51:03 +08:00
COPY server.py /app/
2019-05-22 01:51:03 +08:00
CMD ["python3", "-u", "/app/server.py"]