File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 11// 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/javascript-node
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/python
33{
4- "name" : " Node.js " ,
4+ "name" : " Python 3 " ,
55 // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6- "image" : " mcr.microsoft.com/devcontainers/javascript-node:0-16" ,
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+ },
713 "customizations" : {
814 "vscode" : {
915 "settings" : {
1521 "extensions" : [" learn-pack.learnpack-vscode" ]
1622 }
1723 },
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"
1825
1926 // Features to add to the dev container. More info: https://containers.dev/features.
2027 // "features": {},
2128
2229 // Use 'forwardPorts' to make a list of ports inside the container available locally.
2330 // "forwardPorts": [],
2431
25- "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"
26-
2732 // Use 'postCreateCommand' to run commands after the container is created.
28- // "postCreateCommand": "yarn install",
33+ // "postCreateCommand": "pip3 install --user -r requirements.txt ",
2934
3035 // Configure tool-specific properties.
3136 // "customizations": {},
You can’t perform that action at this time.
0 commit comments