FerryDocs

Your own Dockerfile

With a Dockerfile in the root directory, Ferry builds your Dockerfile as it is.

Edit on GitHub
Root directorythe build contextDockerfileyour filedocker buildImage

The root directory has a Dockerfile. The runtime is docker.

1 / 3

Ferry uses your when the runtime is docker. It also uses it when the runtime is auto and the has a Dockerfile.

Deploy log
==> Using Dockerfile at ./Dockerfile

The rules

SubjectRule
Path--dockerfile sets a path from the root directory. The default is Dockerfile.
ContextThe is the root directory. Your .dockerignore applies.
Start commandIf the service has a , it replaces the CMD of the image. Ferry runs it with /bin/sh -c.
PortThe port setting, a PORT variable, or the one port that the image EXPOSEs. If there is none, set --port. See The port of your app.
VariablesYour build gets them as secrets and as build arguments. See Secrets in a build.

On this page