// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
	"name": "go:1.24-bookworm",
	"runArgs": [
		"--name=agent",
		"--network=host"
	],
	"dockerFile": "Dockerfile",
	"customizations": {
		"vscode": {
			"extensions": [
				"GitHub.copilot",
				"ms-azuretools.vscode-docker",
				"mongodb.mongodb-vscode"
			]
		}
	},
	"forwardPorts": [
		3000,
		8080
	],
	"postCreateCommand": "cd ui && yarn install && yarn build && cd ../machinery && go mod download"
}