@foad
Dont use dockerfile, instead, use dotnet publish and DockerDotNet, and optimize the Docker image.
Remember to subscribe to my YouTube channel and give the video a Like
By liking and recasting this post, more developers can see it and benefit from it
https://youtu.be/c_5fxNN95gA