Fix Dockerfile (#11)
All checks were successful
CI / lint (push) Successful in 13s
CI / typecheck (push) Successful in 12s
CI / test (push) Successful in 29s

Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
2026-03-09 16:27:58 +00:00
parent 0cdf9cd44e
commit 6c7635c3e3
2 changed files with 5 additions and 4 deletions

View File

@@ -6,4 +6,4 @@ __pycache__/
.env
agent.py
AGENTS.md
README.md

View File

@@ -1,13 +1,14 @@
FROM quay.ocp.banorte.com/golden/python-312:latest
FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --no-dev --frozen
COPY pyproject.toml uv.lock README.md ./
RUN uv sync --no-dev --frozen --no-install-project
COPY src/ src/
RUN uv sync --no-dev --frozen
ENV PATH="/app/.venv/bin:$PATH"