FerryDocs

Detection

With the runtime auto, Ferry finds the runtime from the files in the root directory.

Edit on GitHub

Dockerfile. The runtime is docker.

1 / 7
Ferry looks for these files in this order. The first file that it finds wins.

The files

These files tell Ferry the .

File in the root directoryRuntime
Dockerfiledocker
package.json, bun.lockb or bun.locknode
requirements.txt, pyproject.toml or Pipfilepython
go.modgo
Cargo.tomlrust
Gemfileruby
index.htmlstatic

Ferry looks in the only, not in the folders below it.

See the result

Deploy log
==> Detected Node.js runtime

If no file is there

CaseResult
The Dockerfile path is not Dockerfile (--dockerfile)The runtime is docker.
The service is a static sitenginx serves the files as they are.
All other casesThe build fails with could not detect the runtime.

To correct the failure, add one of the files, or set the runtime.

On this page