fix: enable all build scripts in .npmrc

This commit is contained in:
2026-05-19 16:57:38 +08:00
parent db043c9d1d
commit 89a20ae096
2 changed files with 1 additions and 6 deletions

View File

@@ -1,5 +1,2 @@
enable-pre-post-scripts=true
onlyBuiltDependencies[]=@prisma/client
onlyBuiltDependencies[]=@prisma/engines
onlyBuiltDependencies[]=esbuild
onlyBuiltDependencies[]=prisma
only-built-dependencies=true

View File

@@ -4,8 +4,6 @@ FROM node:22-alpine AS builder
WORKDIR /app
ENV PNPM_APPROVE_BUILDS=*
COPY package.json pnpm-lock.yaml .npmrc ./
RUN corepack enable && pnpm install --frozen-lockfile