Browse Source

Dockerfile

wangliang 3 weeks ago
parent
commit
3692511215
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/yarnBase/Dockerfile

+ 1 - 1
web/yarnBase/Dockerfile

@@ -6,7 +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 yarn install
+RUN pnpm install
 RUN NODE_OPTIONS=--max_old_space_size=4096 npm run build
 
 FROM nginx:1.27.4 AS production-stage