ContainerFilesDestinationAnnotation
Class sealed net10.0
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{ // ...}Remarks
Section titled Remarks 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.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesDestinationPathget; initstring Gets or sets the file system path where the container files will be copied into the destination.
Sourceget; init Gets the resource that provides access to the container files to be copied.