Problem with running container for .net blazor devexpress xaf

Hello
I’m trying run container for my .Net Blazor Devexpress XAF application. Right now I have two images from this command:

docker pull mcr.microsoft.com/dotnet/aspnet:6.0
docker pull mcr.microsoft.com/dotnet/sdk:6.0

and I have one container from this command:
docker run --name testMy --publish 80:443 mcr.microsoft.com/dotnet/aspnet:6.0
but when I tryed run status change running and immediately changes the status to exited. I’m not shure how should I properly create or run the created container. Could I ask for some advice?