-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (39 loc) · 939 Bytes
/
Copy pathdevcontainer.json
File metadata and controls
39 lines (39 loc) · 939 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
32
33
34
35
36
37
38
39
{
"name": "Workbench template",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"hostRequirements": {
"storage": "32gb",
"memory": "8gb",
"cpus": 4
},
// Runs automatically after Prebuild Template environment is created.
"onCreateCommand": ".devcontainer/onCreate.sh",
// Runs automatically every time the dev container has been (re-)started
"postStartCommand": {
"ports": "gh cs ports visibility 5000:public -c $CODESPACE_NAME",
"tools": ".devcontainer/postStartCommand.sh"
},
"forwardPorts": [
4000,
5000,
9000,
13000
],
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
"customizations": {
"codespaces": {
"repositories": {
"github/gh-runtime-cli": {
"permissions": {
"contents": "read",
"packages": "read"
}
}
}
}
}
}