Ver Fonte

Dockerfile

wangliang há 3 semanas atrás
pai
commit
f1244f5096
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      web/yarnBase/Dockerfile

+ 1 - 0
web/yarnBase/Dockerfile

@@ -6,6 +6,7 @@ MAINTAINER wangliang@qmth.com.cn
 WORKDIR /opt
 COPY . .
 RUN npm config set registry http://registry.cnpmjs.org && npm config set registry http://registry.npm.taobao.org
+RUN npm install -g pnpm
 RUN pnpm install
 RUN NODE_OPTIONS=--max_old_space_size=4096 npm run build