Skip to content

Commit 58a7577

Browse files
authored
Build devcontainer (Koenkk#2665)
* build(devcontainer): add devcontainer.json * build(devcontainer): run `npm install` as `postCreateCommand`
1 parent 1898c37 commit 58a7577

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/javascript-node:18",
3+
4+
"postCreateCommand": "npm install",
5+
6+
"portsAttributes": {
7+
"8080": {
8+
"label": "client"
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)