-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (27 loc) · 895 Bytes
/
Copy pathdevcontainer.json
File metadata and controls
31 lines (27 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "SentinelNode",
// Use the node-api service from docker-compose.yml as the dev environment.
// VS Code will open inside this container.
"dockerComposeFile": "../docker-compose.yml",
"service": "node-api",
"workspaceFolder": "/app",
// Install VS Code extensions inside the container automatically.
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"ms-vscode.vscode-typescript-next",
"rust-lang.rust-analyzer"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"js/ts.tsdk.path": "/app/node_modules/typescript/lib"
}
}
},
// Run npm install inside the container after it starts.
"postCreateCommand": "npm install",
// Forward port 3000 so localhost:3000 still works in your browser.
"forwardPorts": [3000]
}