Hop uses Nixpacks for automatic, configless
deployments. You can write a custom
Dockerfile if you don't want to use
Nixpacks.package.json file in your project. All dependencies found in packages.json are installed with either NPM, Yarn, PNPM, or Bun (depending on the lockfile detected).
Start Command
You can specify a custom start command in yourpackage.json file, for example:
package.json
Versions
Hop supports the following Node.js versions out of the box:- 18
- 16 (default)
- 14
Specifying a version
The version can be overridden by:- Setting the
NIXPACKS_NODE_VERSIONenvironment variable, or - Specifying the
engines.nodefield inpackage.json