// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/miniconda
{
	"name": "Miniconda (Python 3)",
	// Configure tool-specific properties.
	"hostRequirements": {
		"cpus": 16,
		"memory": "64gb",
		"storage": "128gb"
	},
	"customizations": {
		"vscode": {
			"extensions": [
				"ms-python.python",
				"ms-toolsai.jupyter",
				"donjayamanne.python-extension-pack",
				"tht13.python",
				"esbenp.prettier-vscode",
				"ms-python.black-formatter",
				"github.vscode-github-actions",
				"eamodio.gitlens"
			]
		}
	},
	// Features to add to the dev container. More info: https://containers.dev/features.
	"features": {
		"ghcr.io/devcontainers/features/nvidia-cuda:1": {
			"installCudnn": true
		},
		"ghcr.io/devcontainers/features/anaconda:1": {
			"version": "latest"
		},
		"ghcr.io/devcontainers/features/python:1": {
			"installTools": true,
			"version": "3.9"
		}
	},
	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],
	// Use 'postCreateCommand' to run commands after the container is created.
	"postCreateCommand": [
		"conda env create --file environment.yaml --name pso"
	]
	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
	// "remoteUser": "root"
}