FerryDocs

Runtimes

The runtime tells Ferry how to make the image of a service.

Edit on GitHub
Runtime--runtimedockeryour Dockerfilenode, python, …Ferry writes oneimageno buildImage

docker: Docker builds your Dockerfile.

1 / 3

The runtimes

Ferry makes the image with
auto (default)The runtime that it detects from the files
dockerYour Dockerfile
imageNo build: Ferry pulls the image of the service. Ferry sets this runtime when the service has an image.
nodeA generated Node.js Dockerfile (npm, Yarn, pnpm or Bun)
pythonA generated Python Dockerfile
goA generated Go Dockerfile
rustA generated Rust Dockerfile
rubyA generated Ruby Dockerfile
staticA generated nginx image, after an optional build step

Set the runtime

Terminal
ferry update api --runtime node

In the dashboard, use the Settings page.

The runtime must agree with the files

--runtime node with no package.json fails. The message names the file that is not there, and the runtime that the project seems to use.

On this page