Skip to content

Commit 130467a

Browse files
Copilotabernier
andcommitted
Use corepack instead of npm install -g for pnpm installation
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
1 parent df10382 commit 130467a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM node:24-alpine
22

33
RUN apk add --no-cache libc6-compat git && apk update
44

5-
# Install pnpm globally
6-
RUN npm install -g pnpm@10.28.1
5+
# Enable corepack and prepare pnpm
6+
RUN corepack enable && corepack prepare pnpm@10.28.1 --activate
77

88
WORKDIR /app
99

0 commit comments

Comments
 (0)