From 0d98b501a0e17a920c67eaa8e3d536b6962e1644 Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Thu, 30 Oct 2025 23:30:15 +0800 Subject: [PATCH] Refactor Dockerfile to use 'npm install' instead of 'npm ci' for dependency installation --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0d8d03f..b04188c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .