From cbcd98bf247de1f60e57e7c489a83ac0287a08b9 Mon Sep 17 00:00:00 2001 From: Rex Raphael Date: Thu, 22 Oct 2026 18:30:02 -0500 Subject: [PATCH] chore: bump image bases to nginx 1.30 and node 26 --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2880177..062045a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,16 @@ # The build stage always runs on the builder's own architecture. The output is # static files, so both image platforms share one build. -FROM --platform=$BUILDPLATFORM node:20.18-alpine AS build +FROM --platform=$BUILDPLATFORM node:26.12-alpine AS build WORKDIR /src -RUN corepack enable && corepack prepare pnpm@9.12.0 --activate +# Node 25 and later ship without corepack, so pnpm comes from npm. Keep the +# version in step with "packageManager" in package.json. +RUN npm install -g pnpm@9.12.0 COPY . . RUN pnpm install --frozen-lockfile RUN pnpm -r build -FROM nginxinc/nginx-unprivileged:1.27-alpine +FROM nginxinc/nginx-unprivileged:1.30-alpine LABEL org.opencontainers.image.source=https://github.com/xraph/fabriq-admin USER root