File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/python
3+ {
4+ "name" : " Python 3" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/python:0-3.10" ,
7+ "features" : {
8+ "ghcr.io/devcontainers/features/node:1" : {
9+ "nodeGypDependencies" : true ,
10+ "version" : " 16"
11+ }
12+ },
13+ "customizations" : {
14+ "vscode" : {
15+ "settings" : {
16+ "editor.defaultFormatter" : " esbenp.prettier-vscode" ,
17+ "workbench.editorAssociations" : {
18+ "*.md" : " vscode.markdown.preview.editor"
19+ }
20+ },
21+ "extensions" : [" learn-pack.learnpack-vscode" ]
22+ }
23+ },
24+ "onCreateCommand" : " pip3 install pytest==4.6.0 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
25+
26+ // Features to add to the dev container. More info: https://containers.dev/features.
27+ // "features": {},
28+
29+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
30+ // "forwardPorts": [],
31+
32+ // Use 'postCreateCommand' to run commands after the container is created.
33+ // "postCreateCommand": "pip3 install --user -r requirements.txt",
34+
35+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
36+ // "remoteUser": "root"
37+ }
You can’t perform that action at this time.
0 commit comments