Parcourir la source

chore: build 报错

vian il y a 1 an
Parent
commit
77a1ef1f53
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ WORKDIR /ConstructionOperation
 COPY package.json /ConstructionOperation
 
 RUN mkdir tmp \
-    && cnpm install
+    && npm install --registry=https://registry.npmmirror.com/
 
 FROM base-alpine:latest