Build.Context Property
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.
Gets or sets the build context for the service in the Docker Compose file. The context specifies the directory containing the Dockerfile and other resources needed for building the image.
[YamlDotNet.Serialization.YamlMember(Alias="context")]
public string? Context { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="context")>]
member this.Context : string with get, set
Public Property Context As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute