Fix Dockerfile (#11)
Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
@@ -6,4 +6,4 @@ __pycache__/
|
||||
.env
|
||||
agent.py
|
||||
AGENTS.md
|
||||
README.md
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user