diff --git a/Dockerfile b/Dockerfile index b04c8ad..81dad52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,8 @@ COPY dist ./dist # 安装项目依赖 RUN npm install pnpm -g +# 下载cross-env +RUN pnpm install cross-env -g # 使用pnpm安装生产依赖 RUN pnpm install