Skip to content
Docs Try Aspire
Docs Try

ContainerResource.publishAsContainer

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

Signature

method publishAsContainer builder
Changes the resource to be published as a container in the manifest.
publishAsContainer(): ContainerResource
ContainerResource

Defined on

This method is defined on the following type: