Refactor Dockerfile to use 'npm install' instead of 'npm ci' for dependency installation

This commit is contained in:
theluyuan 2025-10-30 23:30:15 +08:00
parent 13b7c6f993
commit 0d98b501a0

View File

@ -26,7 +26,7 @@ RUN npm config set registry https://registry.npmmirror.com
COPY package*.json ./
# 安装项目依赖
RUN npm ci --only=production && npm cache clean --force
RUN npm i
# 复制项目文件
COPY . .