Explorar el Código

chore: build 报错

vian hace 1 año
padre
commit
77a1ef1f53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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