Skip to content
DocsTry Aspire
DocsTry

DockerfileStage Properties

ClassProperties2 members
Represents a stage within a multi-stage Dockerfile.
StageNameSection titled StageNamenullablestring?
Gets the name of the stage.
public string? StageName { get; }
Gets the statements for this stage.
public IList<DockerfileStatement> Statements { get; }