Explorar o código

feat: 更新npm源为淘宝镜像

zhangweicheng %!s(int64=3) %!d(string=hai) anos
pai
achega
2a2e1d5b35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -4,7 +4,7 @@ WORKDIR /home/ConstructionCost
 
 COPY package.json /home/ConstructionCost/
 
-RUN npm install
+RUN npm install --registry=https://registry.npmmirror.com
 
 FROM base-alpine-new-node:latest