2025-08-14 15:09:01 +00:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
|
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
|
|
|
|
{
|
2025-08-14 15:32:54 +00:00
|
|
|
"name": "Node.js & TypeScript",
|
|
|
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
2026-07-02 20:12:17 +00:00
|
|
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:5-22-bookworm",
|
2025-08-14 15:32:54 +00:00
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
2025-08-14 15:09:01 +00:00
|
|
|
|
2025-08-14 15:32:54 +00:00
|
|
|
"postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
|
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
|
|
|
// "features": {},
|
2025-08-14 15:09:01 +00:00
|
|
|
|
2025-08-14 15:32:54 +00:00
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
|
"forwardPorts": [3000]
|
2025-08-14 15:09:01 +00:00
|
|
|
|
2025-08-14 15:32:54 +00:00
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
|
|
|
// "postCreateCommand": "yarn install",
|
2025-08-14 15:09:01 +00:00
|
|
|
|
2025-08-14 15:32:54 +00:00
|
|
|
// Configure tool-specific properties.
|
|
|
|
|
// "customizations": {},
|
2025-08-14 15:09:01 +00:00
|
|
|
|
2025-08-14 15:32:54 +00:00
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
|
|
|
// "remoteUser": "root"
|
2025-08-14 15:09:01 +00:00
|
|
|
}
|