Explorar el Código

Update ZTNCUI.sh

nili hace 2 años
padre
commit
721d72e62d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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号