diff options
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r-- | .devcontainer/devcontainer.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..d7bd89bea --- /dev/null +++ b/.devcontainer/devcontainer.json | |||
@@ -0,0 +1,29 @@ | |||
1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node | ||
3 | { | ||
4 | "name": "Node.js", | ||
5 | "build": { | ||
6 | "dockerfile": "Dockerfile", | ||
7 | // Update 'VARIANT' to pick a Node version: 10, 12, 14 | ||
8 | "args": { "VARIANT": "14" } | ||
9 | }, | ||
10 | |||
11 | // Set *default* container specific settings.json values on container create. | ||
12 | "settings": { | ||
13 | "terminal.integrated.defaultProfile.linux": "/bin/bash" | ||
14 | }, | ||
15 | |||
16 | // Add the IDs of extensions you want installed when the container is created. | ||
17 | "extensions": [ | ||
18 | "dbaeumer.vscode-eslint" | ||
19 | ], | ||
20 | |||
21 | // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
22 | // "forwardPorts": [], | ||
23 | |||
24 | // Use 'postCreateCommand' to run commands after the container is created. | ||
25 | // "postCreateCommand": "npm install", | ||
26 | |||
27 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
28 | "remoteUser": "node" | ||
29 | } | ||