-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathdevcontainer.json
More file actions
36 lines (33 loc) · 1.24 KB
/
devcontainer.json
File metadata and controls
36 lines (33 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/azure-static-web-apps
{
"name": "Azure Static Web Apps - vanilla sample",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Please look at runtime version support to make sure you're using compatible versions
// https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages#languages-by-runtime-version
"NODE_VERSION": "16",
"CORE_TOOLS_VERSION": "4"
}
},
"forwardPorts": [ 7071, 4280 ],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"ms-azuretools.vscode-azurestaticwebapps",
"ms-dotnettools.csharp",
"ms-python.python",
"dbaeumer.vscode-eslint"
]
}
},
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "node --version",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}