Skip to content

Commit

Permalink
fix devcontainer to work with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBrazier committed Mar 3, 2023
1 parent 8dea6d3 commit 6d2e124
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "16" }
},
"runArgs": ["--userns=keep-id"],

"containerEnv": { "HOME": "/home/node" },
// "containerEnv": { "HOME": "/home/node" },

// Configure tool-specific properties.
"customizations": {
Expand All @@ -32,6 +31,6 @@
"postCreateCommand": "npm install",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
// "remoteUser": "node",
"features": {}
}

0 comments on commit 6d2e124

Please sign in to comment.