I am trying to run a .NET Core 1.0.0 console application inside a docker container. When I run dotnet run command from inside the Demo folder on my machin
dotnet run
I'm using this approach:
static async Task Main(string[] args) { // run code .. await Task.Run(() => Thread.Sleep(Timeout.Infinite)); }