pnpm 10+ refuses to run dependency build scripts by default and exits with ERR_PNPM_IGNORED_BUILDS, causing `pnpm install` to fail in the frontend Docker image. Whitelist the packages that legitimately need their install scripts (esbuild native binary, @vue-office/pptx, vue-demi) via `pnpm.onlyBuiltDependencies`. |
||
|---|---|---|
| .. | ||
| packages | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| env.d.ts | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||