File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-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/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:1-22-bookworm" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ // "features": {
10+ // "ghcr.io/devcontainers/features/go:1": {}
11+ // },
12+
13+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
14+ // "forwardPorts": [],
15+
16+ // Use 'postCreateCommand' to run commands after the container is created.
17+ "postCreateCommand" : {
18+ "Configure Build Tools" : " npm install -g pnpm"
19+ },
20+
21+ // Configure tool-specific properties.
22+ "customizations" : {
23+ "vscode" : {
24+ "settings" : {
25+ "terminal.integrated.defaultProfile.linux" : " bash" ,
26+ "terminal.integrated.profiles.linux" : {
27+ "bash" : {
28+ "path" : " /bin/bash" ,
29+ "icon" : " terminal-bash"
30+ }
31+ }
32+ },
33+ "extensions" : [
34+ " dbaeumer.vscode-eslint" ,
35+ " dprint.dprint"
36+ ]
37+ }
38+ },
39+
40+ // More info: https://aka.ms/dev-containers-non-root.
41+ "remoteUser" : " node"
42+ }
You can’t perform that action at this time.
0 commit comments