Type Alias: DirectoryDockerBuildOpts
DirectoryDockerBuildOpts =
object
Properties​
buildArgs?​
optionalbuildArgs:BuildArg[]
Build arguments to use in the build.
dockerfile?​
optionaldockerfile:string
Path to the Dockerfile to use (e.g., "frontend.Dockerfile").
noInit?​
optionalnoInit:boolean
If set, skip the automatic init process injected into containers created by RUN statements.
This should only be used if the user requires that their exec processes be the pid 1 process in the container. Otherwise it may result in unexpected behavior.
platform?​
optionalplatform:Platform
The platform to build.
secrets?​
optionalsecrets:Secret[]
Secrets to pass to the build.
They will be mounted at /run/secrets/[secret-name].
target?​
optionaltarget:string
Target build stage to build.