mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
23 lines
385 B
Docker
23 lines
385 B
Docker
FROM alpine:3.17
|
|
|
|
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 \
|
|
docker \
|
|
redis
|
|
|
|
COPY docker-entrypoint.sh /app/
|
|
COPY dockerapi.py /app/
|
|
|
|
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
|