Skip to content
Docs Try Aspire
Docs Try

run

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

Signature

method run
Adds a RUN statement to a Dockerfile stage
run(command: string): DockerfileStage
command string
DockerfileStage

Applies to

This method applies to the following types: