-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (39 loc) · 1.4 KB
/
Copy pathdevcontainer.json
File metadata and controls
39 lines (39 loc) · 1.4 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
37
38
39
{
"name": "${localWorkspaceFolderBasename}-dev",
"image": "127.0.0.1:5000/python-dev:1.0.4",
"remoteUser": "developer",
"containerUser": "developer",
"updateRemoteUserUID": true,
"runArgs": [
"--name=${localWorkspaceFolderBasename}-dev",
"--userns=keep-id",
"--security-opt=no-new-privileges"
],
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached",
"mounts": [
// ~/my/kb
"type=bind,source=${localEnv:HOME}/my/kb,target=/home/developer/kb",
// python
"type=volume,source=python-pip-cache,target=/home/developer/.cache/pip"
],
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.analysis.typeCheckingMode": "basic",
"python.formatting.provider": "none",
"editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
},
"extensions": [
"davidanson.vscode-markdownlint",
"ms-python.python",
"ms-python.debugpy",
"ms-python.black-formatter"
]
}
}
}