Skip to content
Docs Try Aspire

ContainerFilesSourceAnnotation

Class sealed net10.0
📦 Aspire.Hosting v13.1.2
Represents an annotation that associates a container file/directory with a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerFilesSourceAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
This annotation is typically used in scenarios where assets, such as images or static files, need to be copied from one container image to another during the build process. This annotation is applied to the source resource that produces the files.