It works for me by configuring ASPNETCORE_ENVIRONMENT with command dotnet CoreDocker.dll --environment="X"
Try to change dockerfile like below:
ENTRYPOINT ["dotnet", "CoreDocker.dll", "--environment=X"]
It works for me by configuring ASPNETCORE_ENVIRONMENT with command dotnet CoreDocker.dll --environment="X"
Try to change dockerfile like below:
ENTRYPOINT ["dotnet", "CoreDocker.dll", "--environment=X"]