IResourceWithContainerFiles.withContainerFilesSource

Method
📦 Aspire.Hosting v17.0.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
sourcePathstringThe path to the container files source to associate with the resource. Cannot be null.
IResourceWithContainerFiles

Defined on

This method is defined on the following type: