mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
chore(docker): 移除pnpm安装时的--shamefully-hoist参数
- 删除了Dockerfile中pnpm install命令的--shamefully-hoist选项 - 简化了依赖安装流程 - 保持构建过程的一致性
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user