Skip to content

Commit bdbc345

Browse files
fix(docker): build on node:24-slim to match lockfile's npm 11
The committed package-lock.json was generated by npm 11 (Node 24). On node:20-slim (npm 10) npm ci reported webpack/terser/ajv "missing from lock file" because npm 10 resolves Next.js's bundled webpack tree differently. Match the build toolchain to the lockfile generator. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f93500e commit bdbc345

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-slim AS base
1+
FROM node:24-slim AS base
22

33
# Install dependencies
44
FROM base AS deps

0 commit comments

Comments
 (0)