Skip to content
DocsTry Aspire
DocsTry

run

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

Signature

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

Applies to

This method applies to the following types: