Skip to content
Docs Try Aspire

ContainerFilesDestinationAnnotation

Class sealed net10.0
📦 Aspire.Hosting v13.1.2
Represents an annotation that specifies a source resource and destination path for copying container files.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ContainerFilesDestinationAnnotation
: 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 destination resource where the source container's files will be copied to.