Bryan
02/05/2026, 8:39 PMvar builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
await app.RunAsync();
Then it does stay up, but Wiremock isn't reachable. If I try hitting it, it just returns a 404.
Any advice would be appreciated.Mathieu
02/05/2026, 8:44 PMConsole.ReadKey(), this is probably crashing because you're starting your docker container without a tty attached. It should work if you run your container with -it . This will assign a tty to it and attach interactively. With that, the example should run as is.
Perhaps you could try that first. If it still doesn't work, then it would be indicative of a different problem, but that'll give some clue at leastBryan
02/05/2026, 8:45 PMBryan
02/05/2026, 8:51 PM-it and it did start up and stay up, but when I try hitting one of my URLs it just returns an empty response. There is nothing in the logs except the startup message.Mathieu
02/05/2026, 9:14 PMMathieu
02/05/2026, 9:15 PMBryan
02/05/2026, 9:41 PMMathieu
02/05/2026, 10:00 PMBryan
02/06/2026, 9:31 AMMathieu
02/06/2026, 2:19 PM