Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6085398

Browse files
Create devcontainer.json
1 parent d4adf2d commit 6085398

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

‎.devcontainer/devcontainer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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/javascript-node
3+
{
4+
"name": "Node.js",
5+
// 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",
7+
"customizations": {
8+
"vscode": {
9+
"settings": {
10+
"editor.defaultFormatter": "esbenp.prettier-vscode",
11+
"workbench.editorAssociations": {
12+
"*.md": "vscode.markdown.preview.editor"
13+
}
14+
},
15+
"extensions": ["learn-pack.learnpack-vscode"]
16+
}
17+
},
18+
19+
// Features to add to the dev container. More info: https://containers.dev/features.
20+
// "features": {},
21+
22+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
23+
// "forwardPorts": [],
24+
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+
27+
// Use 'postCreateCommand' to run commands after the container is created.
28+
// "postCreateCommand": "yarn install",
29+
30+
// Configure tool-specific properties.
31+
// "customizations": {},
32+
33+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
34+
// "remoteUser": "root"
35+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /