Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: