build: remove pnpm install from Dockerfile

The pnpm install step is removed to optimize the Docker build process. The dependencies will be installed in a later stage when needed.
This commit is contained in:
2025-11-10 16:19:24 +08:00
parent 4fb906a84d
commit e392062a4b

View File

@@ -12,7 +12,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
# 安装 pnpm 和依赖(工作空间)
RUN npm install -g pnpm && pnpm install
RUN npm install -g pnpm
# 复制源代码
COPY . .