Skip to content
DocsTry Aspire
DocsTry

DockerfileBuilder.from

Method
📦 Aspire.Hosting v13.4.0
interface DockerfileBuilder {
// ... omitted for brevity
from(
image: string,
stageName?: string): DockerfileStage;
}

Signature

methodfrom
Adds a FROM statement to start a Dockerfile stage
from(
image: string,
stageName?: string): DockerfileStage
imagestring
stageNamestringoptional
DockerfileStage

Defined on

This method is defined on the following type: