mailcow/data/Dockerfiles/dockerapi/Dockerfile

20 lines
323 B
Docker
Raw Normal View History

2022-06-05 19:04:51 +02:00
FROM alpine:3.16
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
2019-05-20 21:27:47 +02:00
WORKDIR /app
RUN apk add --update --no-cache python3 \
py3-pip \
openssl \
tzdata \
2022-08-09 20:29:33 +02:00
py3-psutil \
&& pip3 install --upgrade pip \
docker \
flask \
flask-restful
COPY dockerapi.py /app/
CMD ["python3", "-u", "/app/dockerapi.py"]