force pnpm v10 in dockerfile

This commit is contained in:
jeffvli
2026-05-25 22:00:28 -07:00
parent 2193fa4251
commit bf7ca937ff
3 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ WORKDIR /app
# Copy package.json first to cache node_modules
COPY package.json pnpm-lock.yaml .
RUN npm install -g pnpm
# Match CI (pnpm/action-setup version: 10). Latest pnpm 11 fails install without approve-builds.
RUN corepack enable && corepack prepare pnpm@10 --activate
RUN pnpm install