FerryDocs

Build keys

The build keys tell Ferry where to build, with which Dockerfile and with which commands.

Edit on GitHub
render.yaml
services:
  - type: web
    name: api
    runtime: node
    repo: https://github.com/render-examples/express-hello-world
    buildCommand: npm ci          # runs in the build
    startCommand: node app.js     # starts the app

These keys control the of a service and the command that starts it.

The keys

KeyTypeDefaultFerry setting and notes
rootDirstringrepository rootroot_dir: the , a relative path in the repository. It is also the .
dockerContextstringnoneFerry uses it as root_dir when the entry has no rootDir.
dockerfilePathstringDockerfiledockerfile_path, relative to the root directory.
buildCommandstringnonebuild_command, for native runtimes.
startCommandstringnonestart_command.
dockerCommandstringnoneThe same as startCommand.
staticPublishPathstringnonepublish_dir: the directory that a static site serves.

On this page