|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/javascript-node |
3 | 3 | { |
4 | | - "name": "Node.js", |
5 | | - "build": { |
6 | | - "dockerfile": "Dockerfile", |
7 | | - // Update 'VARIANT' to pick a Node version: 16, 14, 12. |
8 | | - // Append -bullseye or -buster to pin to an OS version. |
9 | | - // Use -bullseye variants on local arm64/Apple Silicon. |
10 | | - "args": { "VARIANT": "16" } |
11 | | - }, |
| 4 | + "name": "Node.js", |
| 5 | + "build": { |
| 6 | + "dockerfile": "Dockerfile", |
| 7 | + // Update 'VARIANT' to pick a Node version: 16, 14, 12. |
| 8 | + // Append -bullseye or -buster to pin to an OS version. |
| 9 | + // Use -bullseye variants on local arm64/Apple Silicon. |
| 10 | + "args": {"VARIANT": "16"} |
| 11 | + }, |
12 | 12 |
|
13 | | - // Set *default* container specific settings.json values on container create. |
14 | | - "settings": {}, |
| 13 | + // Set *default* container specific settings.json values on container create. |
| 14 | + "settings": {}, |
15 | 15 |
|
16 | | - // Add the IDs of extensions you want installed when the container is created. |
17 | | - "extensions": [ |
18 | | - "dbaeumer.vscode-eslint" |
19 | | - ], |
| 16 | + // Add the IDs of extensions you want installed when the container is created. |
| 17 | + "extensions": ["dbaeumer.vscode-eslint"], |
20 | 18 |
|
21 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
22 | | - // "forwardPorts": [], |
| 19 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 20 | + // "forwardPorts": [], |
23 | 21 |
|
24 | | - // Use 'postCreateCommand' to run commands after the container is created. |
25 | | - // "postCreateCommand": "yarn install", |
| 22 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 23 | + // "postCreateCommand": "yarn install", |
26 | 24 |
|
27 | | - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
28 | | - "remoteUser": "node", |
29 | | - "features": { |
30 | | - "git": "latest" |
31 | | - } |
| 25 | + // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 26 | + "remoteUser": "node", |
| 27 | + "features": { |
| 28 | + "git": "latest" |
| 29 | + } |
32 | 30 | } |
0 commit comments