Skip to content

Commit b95db79

Browse files
committed
fix: Install pnpm with npm since Node 26 images do not ship corepack
1 parent 675e17e commit b95db79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:26.13.0-slim AS builder
22

3-
RUN corepack enable && corepack prepare pnpm@11.9.0 --activate
3+
RUN npm install -g pnpm@12.15.0
44

55
WORKDIR /app
66

@@ -14,7 +14,7 @@ RUN pnpm run build
1414

1515
FROM node:26.13.0-slim AS final
1616

17-
RUN corepack enable && corepack prepare pnpm@11.9.0 --activate
17+
RUN npm install -g pnpm@12.15.0
1818

1919
WORKDIR /app
2020

0 commit comments

Comments
 (0)