mailcow/data/Dockerfiles/dockerapi/Dockerfile

19 lines
308 B
Docker
Raw Permalink Normal View History

2021-12-14 21:10:31 +08:00
FROM alpine:3.15
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
2019-05-21 03:27:47 +08:00
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"]