修复docker使用npm install

This commit is contained in:
Connor
2026-01-12 22:38:14 +08:00
parent 9349975f46
commit 0b2ed2ef11

View File

@@ -9,7 +9,7 @@ WORKDIR /app/web
COPY web/package*.json ./
# 安装前端依赖(包括 devDependencies构建需要
RUN npm ci
RUN npm install
# 复制前端源码
COPY web/ ./