4 instantiations of new
Aspire.Hosting.Native.Core.Tests (1)
TestServices\ComposeTestApplication.cs (1)
40
Image = "aspire-v2-compose-csharp-test:local", Build =
new
("./web", "./web/Dockerfile"),
NativeIntegrations.DockerCompose (2)
ComposeModels.cs (1)
97
get => Model["build"] is JsonObject build ?
new
(build["context"]!.GetValue<string>(), build["dockerfile"]!.GetValue<string>()) : null;
DockerComposeGenerator.cs (1)
138
service["build"] = ComposeJson.BuildPaths(
new
(Text(build, "context"), Text(build, "dockerfile")), context.ApplicationDirectory);
NativeIntegrations.DockerCompose.AppHost.Sample (1)
Program.cs (1)
38
service.Build =
new
("./web", "./web/Dockerfile");
3 references to new
NativeIntegrations.DockerCompose (3)
ComposeModels.cs (3)
17
public
ComposeBuild
? Build { get; init; }
95
public
ComposeBuild
? Build
304
internal static JsonObject BuildPaths(
ComposeBuild
build, string applicationDirectory)