Pass pnpm 11 dependency build policy into isolated Docker images
studio CI and deployment / verify-and-deploy (push) Failing after 7m44s
wiki CI and deployment / verify-and-deploy (push) Has been cancelled

This commit is contained in:
2026-10-25 21:44:03 +08:00
parent 3f83dde5b7
commit 7946aae568
5 changed files with 11 additions and 3 deletions
+2
View File
@@ -2,6 +2,8 @@ FROM node:24-bookworm-slim AS build
WORKDIR /app
RUN corepack enable && corepack prepare pnpm@11.25.0 --activate
COPY apps/studio/package.json apps/studio/pnpm-lock.yaml ./
COPY pnpm-workspace.yaml /tmp/monorepo-policy.yaml
RUN node -e "const fs=require('fs');const text=fs.readFileSync('/tmp/monorepo-policy.yaml','utf8');fs.writeFileSync('pnpm-workspace.yaml', text.slice(text.indexOf('allowBuilds:')));"
RUN pnpm install --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8
COPY apps/studio/ .
RUN pnpm typecheck && pnpm build