FROM python:3.12-slim WORKDIR /app # Install uv for fast package management RUN pip install uv # Copy dependency files COPY pyproject.toml . # Install dependencies RUN uv pip install --system -e . # Copy application code COPY app/ app/ # Run with uvicorn CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]