更新 Dockerfile

This commit is contained in:
ywp
2025-10-22 16:02:23 +08:00
parent 9d55b049a3
commit f7e18e497c

View File

@ -12,7 +12,7 @@ RUN npm config set registry https://registry.npmmirror.com
COPY package*.json ./
RUN npm ci
COPY . .
RUN vite build
RUN npm run build
# 拷贝前端、后端、静态资源
# 可选:前端构建(如果你有 vite、react、vue 项目)