Parcourir la source

dockerfile: 更新

Yi il y a 1 an
Parent
commit
29839a4c4d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ ENV HOSTIP = 'http://192.168.1.70:8081/'
 COPY . .
 
 # RUN sed -i "s/SERVER_URL/$hostip/g" ./src/utils/configs.js
-
+RUN npm cache clean --force
 #安装依赖
 RUN npm install --registry=https://registry.npm.taobao.org