Fix dockerfile
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user