Skip to content

Commit d0eaf53

Browse files
committed
fix: pin pnpm version with corepack prepare to resolve signature verification error
1 parent bcfaa99 commit d0eaf53

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
@@ -3,10 +3,10 @@ ARG NODE_VERSION=23.5.0
33
# Create build stage
44
FROM node:${NODE_VERSION}-slim AS build
55

6-
# Enable pnpm
6+
# Enable and prepare pnpm with a known good version
77
ENV PNPM_HOME="/pnpm"
88
ENV PATH="$PNPM_HOME:$PATH"
9-
RUN corepack enable
9+
RUN corepack prepare pnpm@8.6.0 --activate
1010

1111
# Set the working directory inside the container
1212
WORKDIR /app

0 commit comments

Comments
 (0)