File tree 1 file changed +23
-0
lines changed
1 file changed +23
-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:0-18" ,
7
+
8
+ // Features to add to the dev container. More info: https://containers.dev/features.
9
+ // "features": {},
10
+
11
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
12
+ "forwardPorts" : [3000 ],
13
+
14
+ // Use 'postCreateCommand' to run commands after the container is created.
15
+ // write post create command npm install & npm run hot
16
+ "postCreateCommand" : " npm install"
17
+
18
+ // Configure tool-specific properties.
19
+ // "customizations": {},
20
+
21
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22
+ // "remoteUser": "root"
23
+ }
You can’t perform that action at this time.
0 commit comments