Skip to content
DocsTry Aspire
DocsTry

CopyFilePattern Constructors

RecordConstructors1 member
Represents a file pattern for copying dependency files in a Dockerfile.
Represents a file pattern for copying dependency files in a Dockerfile.
public record CopyFilePattern
{
public CopyFilePattern(
string Source,
string Destination)
{
// ...
}
}
SourcestringThe source pattern for files to copy (e.g., "package*.json").
DestinationstringThe destination path where files should be copied (e.g., "./").