From 9b957b969be4c351a12e9b7cdc7ca115bae1b00f Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 3 Oct 2026 00:07:29 +0200 Subject: [PATCH] fix(docker): build the frontend stage on Node 26 .nvmrc and frontend/package.json engines moved to Node 26 / npm 11 and the lockfile is now written by npm 11, but the Dockerfile's frontend stage stayed on node:22-alpine. npm 10 rejects that lockfile ("Missing: msw@2.15.0 from lock file"), so `npm ci` fails and the image no longer builds. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a156241f..aace5c411 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ======================================================== # Stage: Frontend (Vite) # ======================================================== -FROM --platform=$BUILDPLATFORM node:22-alpine AS frontend +FROM --platform=$BUILDPLATFORM node:26-alpine AS frontend WORKDIR /src/frontend COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci