chore(docker): 移除pnpm安装时的--shamefully-hoist参数

- 删除了Dockerfile中pnpm install命令的--shamefully-hoist选项
- 简化了依赖安装流程
- 保持构建过程的一致性
This commit is contained in:
coolxitech
2025-12-13 12:08:55 +08:00
parent 90f18952ec
commit da3215bcc1

View File

@@ -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 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 FROM nginx:alpine