diff --git a/Dockerfile b/Dockerfile index c61af70..3d0a95f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ WORKDIR /app # Install dependencies first (cached layer as long as lockfile doesn't change) COPY pyproject.toml uv.lock ./ +RUN uv lock --upgrade RUN uv sync --locked --no-install-project --no-editable # Copy the rest of the project and install it @@ -23,6 +24,7 @@ FROM quay.ocp.banorte.com/golden/python-312:latest WORKDIR /app COPY --from=builder /app/.venv /app/.venv +COPY --from=builder /app /app COPY config.yaml ./ ENV PATH="/app/.venv/bin:$PATH"