Procfiles#
The standard Procfile format is supported by Nixpacks. However, only a single process is supported. The command specified in the Procfile overrides the provider start command.
web: npm run start
If you have multiple entries in Procfile, here's how we choose which command:
release
is never pickedweb
is pickedworker
is picked ifweb
is not found- If
web
andworker
are not found, the first entry is picked sorted by the proc name alphabetically.
Release process#
If a release process is found, a new phase is added that will run this command. The release phase will run after the build.
web: npm run start # Will be run after the build phase release: npm run migrate:deploy