// 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": "StableStudio dev",
	"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
	// avoid git "dubious ownership" errors, which break yarn 
	"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && yarn install",		
	"customizations": {
		"vscode": {
			"settings": {},
			"extensions": [
				"vscode.typescript-language-features"
			]
		}
	},
	"features": {
		"ghcr.io/devcontainers/features/github-cli:1": {
			
		}
	},
	"portsAttributes": {
		"3000": {
			"label": "Application",
			"onAutoForward": "openBrowserOnce"
		}
	}
}
