瀏覽代碼

fix: web/Dockerfile cnpm install error

update file
- web/Dockerfile

fixed:
- cnpm install error
SliverHorn 3 年之前
父節點
當前提交
b129ae85c4
共有 1 個文件被更改,包括 1 次插入2 次删除
  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