# services/comfy-agent/Dockerfile ARG BASE_IMAGE=python:3.11-slim FROM ${BASE_IMAGE} WORKDIR /app COPY requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt COPY app /app/app ENV PYTHONUNBUFFERED=1 EXPOSE 8880 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8880"]