Tweak non-root user logic

This commit is contained in:
Chuck Lantz
2019-08-07 21:08:03 +00:00
parent 8e8bdf032a
commit 07cbc3ee99
2 changed files with 10 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
"terminal.integrated.shell.linux": "/bin/bash"
},
"postCreateCommand": "yarn install",
// Comment out the next line to run as root instead. Linux users, update the next line and
// Comment out the next line to run as root instead. Linux users, update
// Dockerfile with your user's UID/GID if not 1000.
"runArgs": [ "-u", "1000" ]
"runArgs": [ "-u", "node" ]
}