Share via


Build.Context Property

Definition

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

Applies to