Skip to main content

Type Alias: DirectoryDockerBuildOpts

DirectoryDockerBuildOpts: object

Type declaration

buildArgs?

optional buildArgs: BuildArg[]

Build arguments to use in the build.

dockerfile?

optional dockerfile: string

Path to the Dockerfile to use (e.g., "frontend.Dockerfile").

platform?

optional platform: Platform

The platform to build.

secrets?

optional secrets: Secret[]

Secrets to pass to the build.

They will be mounted at /run/secrets/[secret-name].

target?

optional target: string

Target build stage to build.