FROM python:3.12-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY server.py flux-gguf-api.json flux-img2img-api.json ./

EXPOSE 8000

# FastMCP streamable-HTTP endpoint at /mcp on :8000
CMD ["python", "server.py"]
