FROM python:3.12-slim RUN apt-get update && apt-get install -y curl && \ curl -fsSL https://get.docker.com | sh && \ apt-get clean && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir fastapi uvicorn docker pydantic httpx WORKDIR /app COPY controller.py . EXPOSE 8000 CMD ["uvicorn", "controller:app", "--host", "0.0.0.0", "--port", "8000"]