From da3215bcc1585d33197b6514c70251518bb83ec6 Mon Sep 17 00:00:00 2001 From: coolxitech Date: Sat, 13 Dec 2025 12:08:55 +0800 Subject: [PATCH] =?UTF-8?q?chore(docker):=20=E7=A7=BB=E9=99=A4pnpm?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6=E7=9A=84--shamefully-hoist=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了Dockerfile中pnpm install命令的--shamefully-hoist选项 - 简化了依赖安装流程 - 保持构建过程的一致性 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 77b4060..b25be4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN git clone https://github.com/setube/ogame-vue-ts.git RUN mv ./ogame-vue-ts/* . ; rm -rf ./ogame-vue-ts/ -RUN npm install -g pnpm ; pnpm install ; npx vite build +RUN npm install -g pnpm ; pnpm install; npx vite build FROM nginx:alpine