Rename Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3.12-slim AS builder
|
||||
FROM quay.ocp.banorte.com/golden/python-312:latest AS builder
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
|
||||
|
||||
@@ -9,7 +9,7 @@ RUN uv sync --no-dev --frozen --no-install-project
|
||||
|
||||
COPY main.py .
|
||||
|
||||
FROM python:3.12-slim
|
||||
FROM quay.ocp.banorte.com/golden/python-312:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -17,9 +17,4 @@ COPY --from=builder /app /app
|
||||
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
# Cloud Run injects PORT (defaults to 8080)
|
||||
ENV PORT=8080
|
||||
EXPOSE ${PORT}
|
||||
|
||||
# Shell form so ${PORT} is expanded at runtime
|
||||
CMD python main.py --transport sse --port ${PORT}
|
||||
CMD python main.py --transport sse --port 8000
|
||||
Reference in New Issue
Block a user