// 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
{
	"name": "my-website",
	"image": "mcr.microsoft.com/devcontainers/base:bookworm",

	"features": {
		"ghcr.io/devcontainers/features/docker-in-docker:2": {
			"installDockerBuildx": true,
			"version": "latest",
			"dockerDashComposeVersion": "v2"
		},
		"ghcr.io/devcontainers/features/node:1": {
			"version": "latest",
			"pnpmVersion": "none",
			"nvmVersion": "latest"
		}
	},

	"postCreateCommand": "npm install",

	// Configure tool-specific properties.
	"customizations": {
		"vscode": {
			"extensions": [
				"bierner.github-markdown-preview",
				"dbaeumer.vscode-eslint",
				"github.vscode-github-actions",
				"Gruntfuggly.todo-tree",
				"jock.svg",
				"mrmlnc.vscode-scss",
				"ms-azuretools.vscode-docker",
				"saeris.markdown-github-alerts"
			]
		}
	}
}
