Change .NET Core project Docker target

If you want to change a .NET Core project Docker target, for example from Windows to Linux, edit the project file and and change the value of property <DockerDefaultTargetOS>.

Change from Windows to Linux and vice versa.