Skip to content
DocsTry Aspire
DocsTry

ContainerResource.withEntrypoint

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
withEntrypoint(entrypoint: string): ContainerResource;
}

Signature

methodwithEntrypointbuilder
Sets the Entrypoint for the container.
withEntrypoint(entrypoint: string): ContainerResource
entrypointstring
ContainerResource

Defined on

This method is defined on the following type: