mailcow/data/Dockerfiles/dockerapi/Dockerfile

22 lines
374 B
Docker
Raw Normal View History

2022-12-08 16:09:20 +01:00
FROM alpine:3.17
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 \
fastapi \
uvicorn \
aiodocker \
redis
2022-08-23 11:57:05 +02:00
COPY docker-entrypoint.sh /app/
COPY dockerapi.py /app/
2022-08-23 11:57:05 +02:00
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]