Przeglądaj źródła

Update ZTNCUI.sh

nili 2 lat temu
rodzic
commit
721d72e62d
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      dockerfile/ZTNCUI.sh

+ 2 - 1
dockerfile/ZTNCUI.sh

@@ -5,7 +5,8 @@ curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
 bash node_inst.sh
 sudo apt install -y nodejs --no-install-recommends
 rm -f node_inst.sh
-npm config set registry  http://registry.npmjs.org/
+npm config set proxy null
+npm cache clean --force
 git clone https://github.com/kmahyyg/ztncui-aio.git tmp
 mv tmp/* /build
 sed -i "s|git clone https://github.com/key-networks/ztncui||g" build-ztncui.sh

粤ICP备19079148号