Skip to content

Commit eb9a71f

Browse files
authored
Standardize devcontainer.json
1 parent 6427033 commit eb9a71f

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
{
2+
"hostRequirements": {
3+
"cpus": 4
4+
},
5+
"waitFor": "onCreateCommand",
6+
"updateContentCommand": "pip install -r requirements.txt",
7+
"postCreateCommand": "",
28
"postAttachCommand": {
3-
"server": "flask --debug run",
9+
"server": "flask --debug run"
410
},
5-
611
"portsAttributes": {
712
"5000": {
813
"label": "Application",
914
"onAutoForward": "openPreview"
1015
}
1116
},
12-
1317
"customizations": {
1418
"codespaces": {
15-
"openFiles": ["app.py"]
19+
"openFiles": [
20+
"app.py"
21+
]
1622
},
1723
"vscode": {
1824
"extensions": [
1925
"ms-python.python"
2026
]
2127
}
22-
},
23-
"onCreateCommand": "pip install -r requirements.txt",
24-
"postCreateCommand": "",
25-
"hostRequirements": {"cpus": 4}
28+
}
2629
}

0 commit comments

Comments
 (0)