Share via


ContainerFilesDestinationAnnotation Class

Definition

Represents an annotation that specifies a source resource and destination path for copying container files.

public sealed class ContainerFilesDestinationAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerFilesDestinationAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ContainerFilesDestinationAnnotation
Implements IResourceAnnotation
Inheritance
ContainerFilesDestinationAnnotation
Implements

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.

Constructors

ContainerFilesDestinationAnnotation()

Properties

DestinationPath

Gets or sets the file system path where the container files will be copied into the destination.

Source

Gets the resource that provides access to the container files to be copied.

Applies to