ContainerFilesExtensions
Class static net10.0
Provides Dockerfile builder extension methods for supporting
ResourceBuilderExtensions.PublishWithContainerFiles. namespace Aspire.Hosting.ApplicationModel.Docker;
public static class ContainerFilesExtensions{ // ...}Methods2
Section titled MethodsAddContainerFiles(DockerfileStage, IResource, string, ILogger?)extensionexperimental Adds COPY --from statements to the Dockerfile stage for container files from resources referenced by
ContainerFilesDestinationAnnotation. AddContainerFilesStages(DockerfileBuilder, IResource, ILogger?)extensionexperimental Adds Dockerfile instructions to include container files from the specified resource into the Dockerfile build process.