mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
22 lines
374 B
Docker
22 lines
374 B
Docker
FROM alpine:3.16
|
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add --update --no-cache python3 \
|
|
py3-pip \
|
|
openssl \
|
|
tzdata \
|
|
py3-psutil \
|
|
&& pip3 install --upgrade pip \
|
|
fastapi \
|
|
uvicorn \
|
|
aiodocker \
|
|
redis
|
|
|
|
COPY docker-entrypoint.sh /app/
|
|
COPY dockerapi.py /app/
|
|
|
|
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
|