Skip to content
DocsTry Aspire
DocsTry

withContainerFilesSource

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithContainerFiles {
// ... omitted for brevity
withContainerFilesSource(sourcePath: string): IResourceWithContainerFiles;
}

Signature

methodwithContainerFilesSourcebuilder
Adds a container files source annotation to the resource being built, specifying the path to the container files source.
withContainerFilesSource(sourcePath: string): IResourceWithContainerFiles
sourcePathstring
IResourceWithContainerFiles

Applies to

This method applies to the following types: