mailcow/data/Dockerfiles/dockerapi/Dockerfile

13 lines
305 B
Docker
Raw Normal View History

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