fix: remove frozen-lockfile and add onlyBuiltDependencies to .npmrc

This commit is contained in:
2026-05-19 17:01:00 +08:00
parent 89a20ae096
commit 5b2447c128
2 changed files with 5 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json pnpm-lock.yaml .npmrc ./
RUN corepack enable && pnpm install --frozen-lockfile
RUN corepack enable && pnpm install
# Prisma 客户端生成
COPY prisma/ ./prisma/