Skip to content
DocsTry Aspire
DocsTry

comment

Method
📦 Aspire.Hosting v13.4.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: