Dockerfile: node 24 to match the npm 11 lockfile

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KFsGHju9szibJJa2YJcdbg
This commit is contained in:
parththakkar106
2026-07-06 17:00:43 +05:30
co-authored by Claude Fable 5
parent 855cc899ed
commit b711b573b5
+3 -2
View File
@@ -1,5 +1,6 @@
# Stage 1 — build the React SPA
FROM node:22-alpine AS frontend-build
# Stage 1 — build the React SPA. Node 24: package-lock.json is written by
# npm 11, which older bundled npms (node 22's 10.x) refuse as out-of-sync.
FROM node:24-alpine AS frontend-build
WORKDIR /build
COPY frontend/package.json frontend/package-lock.json ./
RUN npm ci