Skip to content
Docs Try Aspire
Docs Try

runWithMounts

Method
📦 Aspire.Hosting v13.3.0
interface DockerfileStage {
// ... omitted for brevity
runWithMounts(
command: string,
mounts: string[]): DockerfileStage;
}

Signature

method runWithMounts
Adds a RUN statement with mounts to a Dockerfile stage
runWithMounts(
command: string,
mounts: string[]): DockerfileStage
command string
mounts string[]
DockerfileStage

Applies to

This method applies to the following types: