Skip to content
Docs Try Aspire

DockerfileStage Constructors

Class Constructors 1 member
Represents a stage within a multi-stage Dockerfile.
Initializes a new instance of the DockerfileStage class.
public class DockerfileStage
{
public DockerfileStage(
string? stageName,
string imageReference)
{
// ...
}
}
stageName string? The optional stage name.
imageReference string The base image reference.