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

19 lines
308 B
Docker

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