Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

run

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