ef core doesn't use ASPNETCORE_ENVIRONMENT during update-database
To set the ASPNETCORE_ENVIRONMENT variable in Package Manager Console (PMC) , inside visual studio, to Production use this command first
$env:ASPNETCORE_ENVIRONMENT='Production'
Then you can use
Update-Database
normally.