Use random port for web app

This commit is contained in:
2025-06-14 20:30:00 +02:00
parent 5727707cce
commit f426368d15
3 changed files with 15 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ builder
.AddNpmApp("Vegasco-Web", "../Vegasco-Web")
.WithReference(api)
.WaitFor(api)
.WithHttpEndpoint(targetPort: 4200);
.WithHttpEndpoint(port: 44200, env: "PORT")
.WithExternalHttpEndpoints();
builder.Build().Run();