Author : MD TAREQ HASSAN | Updated : 2023/07/24

Inroduction

Note: A tool supporting the dev container specification is required to build a development container.

Explanation

devcontainer.json

{
    "name": "Node.js & TypeScript",

    "image": "mcr.microsoft.com/devcontainers/typescript-node",

	"features": {
		"ghcr.io/devcontainers/features/azure-cli:1": {},
		"ghcr.io/devcontainers/features/powershell:1": {}
	},
	

    "customizations": {
        "vscode": {
            "settings": {
                "terminal.integrated.defaultProfile.linux": "bash"
            },
            "extensions": [
                "oderwat.indent-rainbow"
            ]
        }
    }
	

    // "forwardPorts": [],
	

    // "postCreateCommand": "yarn install",
	
}