-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevcontainer.json
More file actions
44 lines (44 loc) · 1.07 KB
/
devcontainer.json
File metadata and controls
44 lines (44 loc) · 1.07 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "dart_node",
"build": {
"dockerfile": "Dockerfile",
"args": {
"DART_VERSION": "3.10.7",
"NODE_VERSION": "20.20.0",
"NPM_VERSION": "11.8.0",
"CSPELL_VERSION": "9.6.0",
"COVERAGE_VERSION": "1.15.0"
}
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "2.67.0"
}
},
"postCreateCommand": "bash .devcontainer/post-create.sh",
"remoteUser": "vscode",
"containerEnv": {
"MIN_COVERAGE": "80"
},
"customizations": {
"vscode": {
"extensions": [
"Dart-Code.dart-code",
"streetsidesoftware.code-spell-checker"
],
"settings": {
"dart.sdkPath": "/usr/lib/dart-sdk",
"editor.formatOnSave": true,
"dart.lineLength": 80
}
}
},
"mounts": [
"source=dart_node_pub_cache,target=/home/vscode/.pub-cache,type=volume"
],
"forwardPorts": [3000, 8080],
"portsAttributes": {
"3000": { "label": "Backend API (Express)", "onAutoForward": "notify" },
"8080": { "label": "Frontend", "onAutoForward": "notify" }
}
}