Configuration File

Build

The [build] section allows you to customize the Docker build process.

# Configuration file with a build section
app = 'myapp'

[build]
  dockerfile = 'staging.Dockerfile'

  [build.args]
    version = '1.0.0'
    env = 'staging'

dockerfile

By default, Deckrun will look for a Dockerfile in the root of your project. If you want to use a different Dockerfile, you can specify the path to it using the dockerfile field.

build.args

The [build.args] section allows you to pass build-time variables to the Docker build process. These variables are only available during the build process and are not included in the final image.

Previous
App