FROM docker.io/library/python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y curl systemd && rm -rf /var/lib/apt/lists/*
RUN pip install fastapi uvicorn requests-unixsocket pyyaml pytest httpx
COPY app.py .
COPY app_images.py .
COPY app_volumes.py .
COPY app_files.py .
COPY app_networks.py .
COPY app_pods.py .
COPY app_containers.py .
COPY app_system.py .
COPY common.py .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
