Merge branch 'fix/maxsockets-npm' into 'master'
Set maxsockets for npm install during build to avoid network errors See merge request Shinobi-Systems/Shinobi!498alpha
commit
4979b1d57e
|
@ -17,6 +17,6 @@ fi
|
||||||
if [ -x "$(command -v npm)" ]; then
|
if [ -x "$(command -v npm)" ]; then
|
||||||
echo "NPM detected. Version : $(npm -v)"
|
echo "NPM detected. Version : $(npm -v)"
|
||||||
fi
|
fi
|
||||||
npm install --unsafe-perm
|
npm install --unsafe-perm $([ `dpkg --print-architecture` = "arm64" ] && echo --maxsockets 1)
|
||||||
npm i pm2@latest -g
|
npm i pm2@latest -g
|
||||||
npm i pg
|
npm i pg
|
||||||
|
|
Loading…
Reference in New Issue