Skip to content

Commit 4c33bf0

Browse files
Add devcontainer config
1 parent d747139 commit 4c33bf0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bookworm",
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
// "features": {},
9+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
10+
// "forwardPorts": [],
11+
// Use 'postCreateCommand' to run commands after the container is created.
12+
"postCreateCommand": "yarn install"
13+
// Configure tool-specific properties.
14+
// "customizations": {},
15+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
16+
// "remoteUser": "root"
17+
}

0 commit comments

Comments
 (0)