diff --git a/node/scripts/run-nodock.sh b/node/scripts/run-nodock.sh index 00c2afa..fa6093e 100644 --- a/node/scripts/run-nodock.sh +++ b/node/scripts/run-nodock.sh @@ -11,9 +11,9 @@ fi cd $PROJECT_PATH if [[ $YARN = true ]]; then - yarn install + su -c "cd $PROJECT_PATH; yarn" -s /bin/bash www-app else - npm install + su -c "cd $PROJECT_PATH; npm i" -s /bin/bash www-app fi su -c "cd $PROJECT_PATH; $SCRIPT" -s /bin/bash www-app