Skip to content
Docs Try Aspire
Docs Try

comment

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

Signature

method comment
Adds a comment to a Dockerfile stage
comment(comment: string): DockerfileStage
comment string
DockerfileStage

Applies to

This method applies to the following types: