modal
    Preparing search index...

    Class Image

    A container image, used for starting Sandboxes.

    Index

    Accessors

    Methods

    • Eagerly builds an Image on Modal.

      Parameters

      • app: App

        App to use to build the Image.

      Returns Promise<Image>

    • Extend an image with arbitrary Dockerfile-like commands.

      Each call creates a new Image layer that will be built sequentially. The provided options apply only to this layer.

      Parameters

      • commands: string[]

        Array of Dockerfile commands as strings

      • Optionalparams: ImageDockerfileCommandsParams

        Optional configuration for this layer's build

      Returns Image

      A new Image instance