|
1 |
| -// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
2 |
| -// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile |
3 |
| -{ |
4 |
| - "name": "Dev Container", |
5 |
| - "build": { |
6 |
| - // Sets the run context to one level up instead of the .devcontainer folder. |
7 |
| - "context": "..", |
8 |
| - // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. |
9 |
| - "dockerfile": "./Dockerfile" |
10 |
| - }, |
11 |
| - |
12 |
| - // Features to add to the dev container. More info: https://containers.dev/features. |
13 |
| - // "features": {}, |
14 |
| - |
15 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
16 |
| - "forwardPorts": [ |
17 |
| - 8080 |
18 |
| - ], |
19 |
| - |
20 |
| - // Uncomment the next line to run commands after the container is created. |
21 |
| - // "postCreateCommand": "cat /etc/os-release", |
22 |
| - |
23 |
| - // Configure tool-specific properties. |
24 |
| - "customizations": { |
25 |
| - "vscode": { |
26 |
| - "extensions": [ |
27 |
| - "ms-python.python", |
28 |
| - "ms-azuretools.vscode-docker", |
29 |
| - "ms-python.black-formatter", |
30 |
| - "esbenp.prettier-vscode", |
31 |
| - "Vue.volar" |
32 |
| - ] |
33 |
| - } |
34 |
| - } |
35 |
| - |
36 |
| - // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. |
37 |
| - // "remoteUser": "devcontainer" |
38 |
| -} |
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile |
| 3 | +{ |
| 4 | + "name": "Dev Container", |
| 5 | + "build": { |
| 6 | + // Sets the run context to one level up instead of the .devcontainer folder. |
| 7 | + "context": "..", |
| 8 | + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. |
| 9 | + "dockerfile": "./Dockerfile" |
| 10 | + }, |
| 11 | + |
| 12 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 13 | + // "features": {}, |
| 14 | + |
| 15 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 16 | + "forwardPorts": [ |
| 17 | + 8080 |
| 18 | + ], |
| 19 | + |
| 20 | + // Uncomment the next line to run commands after the container is created. |
| 21 | + // "postCreateCommand": "cat /etc/os-release", |
| 22 | + |
| 23 | + // Configure tool-specific properties. |
| 24 | + "customizations": { |
| 25 | + "vscode": { |
| 26 | + "extensions": [ |
| 27 | + "ms-python.python", |
| 28 | + "ms-azuretools.vscode-docker", |
| 29 | + "ms-python.black-formatter", |
| 30 | + "esbenp.prettier-vscode", |
| 31 | + "Vue.volar" |
| 32 | + ] |
| 33 | + } |
| 34 | + } |
| 35 | + |
| 36 | + // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. |
| 37 | + // "remoteUser": "devcontainer" |
| 38 | +} |
0 commit comments