Represents a COPY instruction.

Hierarchy

  • default
    • Copy

Implements

Constructors

  • Parameters

    • instructionAgruments: string

    Returns Copy

Methods

  • Returns exec form of shell command string.

    Parameters

    • shellCommand: string

    Returns string

  • Returns a new Copy instruction of given source and destination arguments from given build stage.

    Parameters

    • stage: BuildStage
    • source: string
    • destination: string

    Returns Copy

  • Returns a new Copy instruction of given source and destination arguments.

    Parameters

    • source: string
    • destination: string

    Returns Copy

  • Returns a new Copy instruction of given source, destination, chown arguments and optionally chmod.

    Parameters

    • source: string
    • destination: string
    • chown: string
    • Optional chmod: string

    Returns Copy

Generated using TypeDoc