Skip to content

Commit 402db88

Browse files
committed
forwared port
1 parent 0e2cb07 commit 402db88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
{
44
"name": "Node.js",
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/javascript-node:0-16",
77

88
// Features to add to the dev container. More info: https://containers.dev/features.
99
// "features": {},
1010

1111
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
// "forwardPorts": [],
12+
"forwardPorts": [3000]
1313

1414
// Use 'postCreateCommand' to run commands after the container is created.
1515
// "postCreateCommand": "yarn install",

0 commit comments

Comments
 (0)