1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-04 03:48:28 +02:00
mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile

13 lines
305 B
Docker

FROM alpine:3.10
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
WORKDIR /app
RUN apk add --update --no-cache python3 openssl tzdata \
&& pip3 install --upgrade pip \
&& pip3 install --upgrade docker flask flask-restful
COPY dockerapi.py /app/
CMD ["python3", "-u", "/app/dockerapi.py"]