忽略pnpm-lock

This commit is contained in:
mtvpls
2026-06-11 10:31:35 +08:00
parent 336bfe736d
commit 25b068f673
4 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
COPY package.json ./
RUN pnpm install --frozen-lockfile
RUN pnpm install --no-frozen-lockfile
# ---- 第 2 阶段:构建项目 ----
FROM node:24-alpine AS builder