update DockerFile

This commit is contained in:
2026-05-19 16:37:02 +08:00
parent e4319cc563
commit b6c320d691

View File

@@ -1,5 +1,9 @@
# Stage 1: 依赖安装 + 构建 # Stage 1: 依赖安装 + 构建
FROM node:22-alpine AS builder FROM node:22-alpine AS builder
ENV PNPM_APPROVE_BUILDS=*
WORKDIR /app WORKDIR /app
# 先装依赖(缓存最大化) # 先装依赖(缓存最大化)