diff --git a/entrypoint.sh b/entrypoint.sh index ea99988..25ce4d2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,8 +1,8 @@ #!/bin/bash -e -# To avoid file permission conflicts change the "node" user to the UID/GID of +# To avoid file permission conflicts change the "node" user to the UID of # the owner of the working directory and run the command as the "node" user. -usermod -o -u $(stat -c '%u' .) -g $(stat -c '%g' .) -s /bin/bash -d /home/node/app node +usermod -o -u $(stat -c '%u' .) -s /bin/bash -d /home/node/app node # To ensure the node path is maintained and quoting arbitrary strings, # run the user command via a temporary script.