Updates to user/group determination after recent changes to v2 branch

This commit is contained in:
Jamie Curnow
2023-04-11 09:12:48 +10:00
parent fe46da3355
commit c0c89e5d15
18 changed files with 267 additions and 83 deletions

View File

@ -10,7 +10,13 @@ if [ "$DEVELOPMENT" == "true" ]; then
HOME=/tmp/npmuserhome
export CI
export HOME
. /bin/common.sh
cd /app/frontend || exit 1
HOME=/tmp/npmuserhome
export HOME
log_info 'Starting frontend ...'
s6-setuidgid npmuser yarn install
exec s6-setuidgid npmuser yarn start
else