Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

comment

Method
📦 Aspire.Hosting v13.6.0
interface DockerfileStage {
// ... omitted for brevity
comment(comment: string): DockerfileStage;
}

Signature

methodcomment
Adds a comment to a Dockerfile stage
comment(comment: string): DockerfileStage
commentstring
DockerfileStage

Applies to

This method applies to the following types: