YarpResource.publishWithStaticFiles

Method
📦 Aspire.Hosting.Yarp v17.0.0
interface YarpResource {
// ... omitted for brevity
publishWithStaticFiles(resourceWithFiles: IResourceWithContainerFiles): YarpResource;
}

Signature

methodpublishWithStaticFilesbuilder
In publish mode, generates a Dockerfile that copies static files from the specified resource into /app/wwwroot.
publishWithStaticFiles(resourceWithFiles: IResourceWithContainerFiles): YarpResource
resourceWithFilesIResourceWithContainerFilesThe resource with container files.
YarpResource

Defined on

This method is defined on the following type: