Bootstraps a project on container create. The mise binary is provided by the upstream ghcr.io/devcontainers-extra/features/mise feature (declared as a dependsOn, so it's installed automatically). On container create, this feature runs in the workspace folder:
mise trust -y+mise install -yagainstmise.toml/.tool-versions.- Detects the JS package manager from the lockfile and runs its install.
With a mise.toml (or .tool-versions) at the workspace root:
[tools]
node = "20"
pnpm = "9"
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/payloadcms/devcontainer-features/mise-bootstrap:1": {} } }