HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile
FROM alpine:3.21

LABEL maintainer = "The Infrastructure Company GmbH <[email protected]>"

ARG PIP_BREAK_SYSTEM_PACKAGES=1
WORKDIR /app

RUN apk add --update --no-cache python3 \
  py3-pip \
  openssl \
  tzdata \
  py3-psutil \
  py3-redis \
  py3-async-timeout \
&& pip3 install --upgrade pip \
  fastapi \
  uvicorn \
  aiodocker \
  docker
RUN mkdir /app/modules

COPY docker-entrypoint.sh /app/
COPY main.py /app/main.py
COPY modules/ /app/modules/

ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
CMD ["python", "main.py"]