Documentation navigation
Anybuild documentation

Commands and Procfiles

Control install, build, start, and named lifecycle commands.

Procfile discovery

Anybuild reads a root Procfile. The start command is selected from web, default, then start; a Procfile with one process also uses that sole value.

Procfile
web: node server.jsafter_deploy: node scripts/migrate.js

CLI overrides

Terminal
anybuild . \  --install-command "pnpm install --frozen-lockfile" \  --build-command "pnpm build" \  --start-command "node dist/server.js" \  --start

Build groups

Provider steps tag important commands with groups such as install, build, and prune. Command overrides replace the first matching grouped step while preserving the rest of the provider plan.