pai
    Preparing search index...

    Type Alias SandboxOptions

    Settings for one runSandbox run.

    type SandboxOptions = {
        dir?: string;
        image?: string;
        network?: boolean;
        timeoutSec?: number;
        write?: boolean;
    }
    Index
    dir?: string

    The folder mounted at /work. Default: the current folder.

    image?: string

    The container image. Default node:24-slim.

    network?: boolean

    True gives the container network access. Default: none.

    timeoutSec?: number

    Seconds before the container is stopped. Default 300.

    write?: boolean

    True mounts the folder writable. Default: read-only.