modal
    Preparing search index...

    Type Alias ImageDockerfileCommandsParams

    Optional parameters for Image.dockerfileCommands().

    type ImageDockerfileCommandsParams = {
        env?: Record<string, string>;
        forceBuild?: boolean;
        gpu?: string;
        secrets?: Secret[];
    }
    Index

    Properties

    env?: Record<string, string>

    Environment variables to set in the build environment.

    forceBuild?: boolean

    Ignore cached builds for this layer, similar to 'docker build --no-cache'.

    gpu?: string

    GPU reservation for this layer's build environment (e.g. "A100", "T4:2", "A100-80GB:4").

    secrets?: Secret[]

    Secrets that will be made available as environment variables to this layer's build environment.