Default to a non-root user
This commit is contained in:
		@@ -1,12 +1,15 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Node.js Sample",
 | 
			
		||||
    "dockerFile": "Dockerfile",
 | 
			
		||||
    "appPort": 3000,
 | 
			
		||||
    "extensions": [
 | 
			
		||||
        "dbaeumer.vscode-eslint"
 | 
			
		||||
    ],
 | 
			
		||||
    "settings": {
 | 
			
		||||
        "terminal.integrated.shell.linux": "/bin/bash"
 | 
			
		||||
    },
 | 
			
		||||
    "postCreateCommand": "yarn install"
 | 
			
		||||
	"name": "Node.js Sample",
 | 
			
		||||
	"dockerFile": "Dockerfile",
 | 
			
		||||
	"appPort": 3000,
 | 
			
		||||
	"extensions": [
 | 
			
		||||
		"dbaeumer.vscode-eslint"
 | 
			
		||||
	],
 | 
			
		||||
	"settings": {
 | 
			
		||||
		"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 
 | 
			
		||||
	// Dockerfile with your user's UID/GID if not 1000.
 | 
			
		||||
	"runArgs": [ "-u", "1000" ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user