Skip to content
Docs Try Aspire
Docs Try

withDockerfileBaseImage

Method
📦 Aspire.Hosting v13.2.0
interface ContainerResource {
// ... omitted for brevity
withDockerfileBaseImage(
buildImage?: string,
runtimeImage?: string): IResource;
}

Signature

method withDockerfileBaseImage builder
Sets the base image for a Dockerfile build
withDockerfileBaseImage(
buildImage?: string,
runtimeImage?: string): IResource
buildImage string optional
runtimeImage string optional
IResource

Applies to

This method applies to the following types: