DockerfileBuildAnnotation(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an annotation for customizing a Dockerfile build.
public DockerfileBuildAnnotation (string contextPath, string dockerfilePath, string? stage);
new Aspire.Hosting.ApplicationModel.DockerfileBuildAnnotation : string * string * string -> Aspire.Hosting.ApplicationModel.DockerfileBuildAnnotation
Public Sub New (contextPath As String, dockerfilePath As String, stage As String)
Parameters
- contextPath
- String
The path to the context directory for the build.
- dockerfilePath
- String
The path to the Dockerfile to use for the build.
- stage
- String
The name of the build stage to use for the build.