IResource.withDockerfileBaseImage

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

Signature

methodwithDockerfileBaseImagebuilder
Configures custom base images for generated Dockerfiles.
withDockerfileBaseImage(
buildImage?: string,
runtimeImage?: string): IResource
buildImagestringoptionalThe base image to use for the build stage. If null, uses the default build image.
runtimeImagestringoptionalThe base image to use for the runtime stage. If null, uses the default runtime image.
IResource

Defined on

This method is defined on the following type: