FROM python:3.12-slim

WORKDIR /app

COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

COPY . .

RUN uv sync --no-dev

EXPOSE 8000

CMD ["uv", "run", "--no-dev", "fastapi", "run", "src/app/main.py", "--port", "8000"]
