Explorar o código

Merge pull request #580 from flipped-aurora/SliverHorn-patch-2

fix: web/Dockerfile cnpm install error
奇淼(piexlmax %!s(int64=3) %!d(string=hai) anos
pai
achega
37ed01a185
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      web/Dockerfile

+ 1 - 2
web/Dockerfile

@@ -3,8 +3,7 @@ FROM node:12.16.1
 WORKDIR /gva_web/
 COPY . .
 
-RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
-RUN cnpm install || npm install
+RUN npm install
 RUN npm run build
 
 FROM nginx:alpine