Browse Source

前端部署修改

dev-lhz
chenzhihang 1 year ago
parent
commit
d1850789b6
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      k8s/build-node.sh

+ 9
- 7
k8s/build-node.sh View File

@@ -3,13 +3,15 @@
baseDir="/home/somuns/ci4s"
cd ${baseDir}/react-ui

#npm install -g npm@10.9.0
#npm install
#
#if [ $? -ne 0 ]; then
# echo "Failed to install npm depend package"
# exit 1
#fi
npm config set proxy http://172.20.32.253:3128
npm config set https-proxy http://172.20.32.253:3128

npm install

if [ $? -ne 0 ]; then
echo "Failed to install npm depend package"
exit 1
fi


npm run build


Loading…
Cancel
Save