mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix(docker): upgrade npm to v11 to match lockfile version
npm 10.9.4 bundled with node:22-alpine handles optional peer dependencies differently than npm 11, causing build failures when resolving vitest peer dep from @angular-devkit/build-angular.
This commit is contained in:
parent
70b8ed1eca
commit
187bfaf24c
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ WORKDIR /repo
|
|||
|
||||
RUN apk add --no-cache openssl libc6-compat
|
||||
|
||||
# Upgrade npm to match lockfile version (npm 11)
|
||||
RUN npm install -g npm@11
|
||||
|
||||
# Root package + lock (for workspace install)
|
||||
COPY package.json package-lock.json ./
|
||||
COPY packages/shared-schema/package.json ./packages/shared-schema/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue