modal-ts
    Preparing search index...

    Type Alias ImageDockerfileCommandsParams

    Image.dockerfileCommands() のオプションパラメータ

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

    Properties

    env?: Record<string, string>

    ビルド環境に設定する環境変数

    forceBuild?: boolean

    キャッシュを無視してビルドするかどうか

    gpu?: string

    ビルド環境の GPU 予約 (例: "A100", "T4:2", "A100-80GB:4")

    secrets?: Secret[]

    ビルド環境で環境変数として利用可能にする Secret の配列