|
| 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-22-bookworm", |
| 7 | + |
| 8 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 9 | + "features": { |
| 10 | + // "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
| 11 | + // "ghcr.io/devcontainers/features/git-lfs:1": {}, |
| 12 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 13 | + // "ghcr.io/devcontainers/features/go:1": {}, |
| 14 | + // "ghcr.io/devcontainers/features/java:1": {}, |
| 15 | + // "ghcr.io/devcontainers/features/python:1": {}, |
| 16 | + // "ghcr.io/devcontainers/features/ruby:1": {}, |
| 17 | + // "ghcr.io/devcontainers/features/rust:1": {}, |
| 18 | + "ghcr.io/devcontainers-extra/features/act:1": {}, |
| 19 | + // "ghcr.io/devcontainers-extra/features/apt-get-packages:1": {}, |
| 20 | + // "ghcr.io/devcontainers-extra/features/apt-packages:1": {}, |
| 21 | + // "ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}, |
| 22 | + "ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {}, |
| 23 | + "ghcr.io/shinepukur/devcontainer-features/vale:1": {}, |
| 24 | + "ghcr.io/devcontainers-community/npm-features/prettier:1": {} |
| 25 | + }, |
| 26 | + |
| 27 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 28 | + "forwardPorts": [3000], |
| 29 | + |
| 30 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 31 | + "postCreateCommand": "npm install", |
| 32 | + |
| 33 | + // Configure tool-specific properties. |
| 34 | + // "customizations": {}, |
| 35 | + |
| 36 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 37 | + // "remoteUser": "root" |
| 38 | +} |
0 commit comments