fix: increase yarn timeout for slow networks

This commit is contained in:
Elton Renda 2021-07-26 20:05:57 +02:00
parent 74ba3824d0
commit 158e08ee56

View File

@ -169,7 +169,7 @@ cp -r global/* /app/global
log "Building frontend"
cd ./frontend
export NODE_ENV=development
runcmd yarn install
runcmd yarn install --network-timeout=30000
runcmd yarn build
cp -r dist/* /app/frontend
cp -r app-images/* /app/frontend/images
@ -194,7 +194,7 @@ EOF
fi
cd /app
export NODE_ENV=development
runcmd yarn install
runcmd yarn install --network-timeout=30000
# Create NPM service
log "Creating NPM service"