Skip to content

Commit

Permalink
重新安装cross-env并优化Dockerfile依赖安装流程
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwei committed Sep 29, 2024
1 parent 93b101b commit 3d06fec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ COPY dist ./dist

# 安装项目依赖
RUN npm install pnpm -g
# 下载cross-env
RUN pnpm install cross-env -g
# 使用pnpm安装生产依赖
RUN pnpm install

Expand Down

0 comments on commit 3d06fec

Please sign in to comment.