-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
33 lines (33 loc) · 1.11 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
{
"name": "Basic Python with Docker",
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest"
}
},
// "postCreateCommand": "pip install -r requirements.txt && python3 generate_registry.py && mkdocs serve -f cc-registry/mkdocs.yml",
"postCreateCommand": "pip install -r requirements.txt",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.pylint",
"ms-python.black-formatter",
"njpwerner.autodocstring",
"ms-azuretools.vscode-docker"
],
"settings": {
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
},
"remoteUser": "vscode",
"forwardPorts": [8081],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
}
}