Skip to content

Commit

Permalink
Add yarn and npm installed by www-app user
Browse files Browse the repository at this point in the history
  • Loading branch information
philtrep committed Dec 29, 2016
1 parent be62a40 commit 6525fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/scripts/run-nodock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6525fc0

Please sign in to comment.