Skip to content

Commit 77e4a87

Browse files
Update devcontainer.json
1 parent e028f42 commit 77e4a87

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"name": "HTML, CSS & JS",
33
"image": "mcr.microsoft.com/devcontainers/universal:2",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "lts"
7+
},
8+
"ghcr.io/devcontainers/features/sqlite:1": {}
9+
},
410
"hostRequirements": {
511
"cpus": 4
612
},
713
"waitFor": "onCreateCommand",
8-
"updateContentCommand": "npm install -r requirements.txt",
9-
"postCreateCommand": "",
14+
"updateContentCommand": "npm install",
15+
"postCreateCommand": "", // Add setup scripts here if needed
1016
"customizations": {
1117
"vscode": {
1218
"settings": {
@@ -55,7 +61,8 @@
5561
},
5662
"portsAttributes": {
5763
"5000": {
58-
"label": "Application"
64+
"label": "Application",
65+
"onAutoForward": "openBrowser"
5966
}
6067
},
6168
"forwardPorts": [5000]

0 commit comments

Comments
 (0)