Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions services/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN npm init -y >/dev/null 2>&1 && npm install --no-audit --no-fund \
# --- python build stage (B3): a full toolchain compiles any source-only wheel HERE, then we lift only
# the installed packages into the runtime image below. gcc + headers never ship to production, so the
# runtime image is smaller and carries no compiler in its attack surface. ---
FROM python:3.12-slim@sha256:57cd7c3a7a273101a6485ba99423ee568157882804b1124b4dd04266317710de AS pybuild
FROM python:3.14-slim@sha256:cea0e6040540fb2b965b6e7fb5ffa00871e632eef63719f0ea54bca189ce14a6 AS pybuild
# build toolchain + the same shared libs, so wheels that need to compile can link during install
RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 libglib2.0-0 build-essential python3-dev \
Expand All @@ -29,7 +29,7 @@ COPY services/api/requirements.lock /tmp/req/requirements.lock
# wholesale into the runtime stage.
RUN pip install --prefix=/install --require-hashes -r /tmp/req/requirements.lock

FROM python:3.12-slim@sha256:57cd7c3a7a273101a6485ba99423ee568157882804b1124b4dd04266317710de
FROM python:3.14-slim@sha256:cea0e6040540fb2b965b6e7fb5ffa00871e632eef63719f0ea54bca189ce14a6

WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
Expand Down
Loading