2026-09-08 16:51:52 +08:00
|
|
|
|
Serve.Run(RunOptions.Default
|
2026-02-23 18:32:49 +08:00
|
|
|
|
.WithArgs(args)
|
|
|
|
|
|
.ConfigureBuilder(builder =>
|
|
|
|
|
|
{
|
2026-09-08 16:51:52 +08:00
|
|
|
|
// 确保容器内绑定到所有IP,端口9996
|
|
|
|
|
|
builder.WebHost.UseUrls("http://*:9996");
|
2026-02-23 18:32:49 +08:00
|
|
|
|
})
|
|
|
|
|
|
);
|