-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (26 loc) · 919 Bytes
/
devcontainer.json
File metadata and controls
31 lines (26 loc) · 919 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": "Doctocat Dev Container",
"image": "mcr.microsoft.com/devcontainers/javascript-node:24",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"GitHub.copilot",
"GitHub.copilot-chat"
]
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000, 9000],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install",
// Configure the container to run as a non-root user with the same UID/GID as your local user.
"remoteUser": "node"
}