Add Auth v2 #12
@@ -11,6 +11,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Install dependencies first (cached layer as long as lockfile doesn't change)
|
# Install dependencies first (cached layer as long as lockfile doesn't change)
|
||||||
COPY pyproject.toml uv.lock ./
|
COPY pyproject.toml uv.lock ./
|
||||||
|
RUN uv lock --upgrade
|
||||||
RUN uv sync --locked --no-install-project --no-editable
|
RUN uv sync --locked --no-install-project --no-editable
|
||||||
|
|
||||||
# Copy the rest of the project and install it
|
# Copy the rest of the project and install it
|
||||||
@@ -23,6 +24,7 @@ FROM quay.ocp.banorte.com/golden/python-312:latest
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=builder /app/.venv /app/.venv
|
COPY --from=builder /app/.venv /app/.venv
|
||||||
|
COPY --from=builder /app /app
|
||||||
COPY config.yaml ./
|
COPY config.yaml ./
|
||||||
|
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user