FerryDocs

The files Ferry looks for

Ferry chooses the runtime from the first known file at the root of your source.

Edit on GitHub

Dockerfile. Runtime docker. Ferry uses your Dockerfile as it is.

1 / 7
Ferry uses the first file that it finds

When the of a service is auto (the default), Ferry looks at the root of the source. If the service has a , Ferry looks there.

The table

File foundRuntime
Dockerfiledocker: Ferry uses your Dockerfile as it is
package.json, bun.lock or bun.lockbnode
requirements.txt, pyproject.toml or Pipfilepython
go.modgo
Cargo.tomlrust
Gemfileruby
index.htmlstatic

Force a runtime

Terminal
ferry up hello-node --runtime node --follow

The values of --runtime are auto, docker, image, node, python, go, rust, ruby and static.

See the result

The deploy tells you what Ferry found:

Deploy log
==> Detected Node.js runtime
==> Generated Dockerfile.ferry for the Node.js runtime

Builds & runtimes explains the build itself: the cache, the variables at build time and how long Ferry keeps images.

On this page