-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
65 lines (65 loc) · 2 KB
/
devcontainer.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "Example: Python 3.9",
"image": "mcr.microsoft.com/devcontainers/python:3.9",
"customizations": {
"vscode": {
"settings": {
"workbench.colorTheme": "Default Dark+",
"editor.fontSize": 14,
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "README.md",
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.enablePreviewFromCodeNavigation": false,
"workbench.editor.showIcons": false,
"dev.containers.copyGitConfig": true,
"terminal.integrated.shell.linux": "/usr/bin/zsh",
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.python",
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"gitlens.historyExplorer.enabled": true,
"gitlens.views.repositories.files.layout": "tree",
"gitlens.views.repositories.files.compact": true,
"git-graph.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"[python]": {
"editor.defaultFormatter": "ms-python.python"
}
},
"extensions": [
"streetsidesoftware.code-spell-checker",
"ms-python.python",
"ms-python.vscode-pylance",
"eamodio.gitlens",
"mhutchie.git-graph",
"donjayamanne.githistory",
"waderyan.gitblame"
]
}
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"remoteUser": "python",
"containerUser": "python",
"containerEnv": {
"TZ": "Europe/Copenhagen"
},
"forwardPorts": [5000],
"portsAttributes": {
"5000": {
"label": "Flask",
"onAutoForward": "notify"
}
},
"onCreateCommand": "pip install -r requirements.txt"
}