ContainerFilesExtensions
Class static net8.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?)extensionexperimentalats ignored Adds COPY --from statements to the Dockerfile stage for container files from resources referenced by
ContainerFilesDestinationAnnotation. AddContainerFilesStages(DockerfileBuilder, IResource, ILogger?)extensionexperimentalats ignored Adds Dockerfile instructions to include container files from the specified resource into the Dockerfile build process.