Browse Source

chore: build 报错

vian 1 year ago
parent
commit
77a1ef1f53
1 changed files with 1 additions and 1 deletions
  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