title: How do i deploy a blazor docker container application to multiple environments?
body: <p>I've got a blazor server and client side application that is deployed into a docker container.  I have multiple appsettings.json files. Each file should be deployed with its corresponding environment</p>
  
  <p><a href="https://i.stack.imgur.com/46uIk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/46uIk.png" alt="configuration files"></a></p>
  
  <p>I've seen some discussions which assert that the ASPNETCORE_ENVIRONMENT needs to be set for the server side application, which would automatically set the same value for the client side application.  I've tried this.  However, it seems that for the dev environment example, the appsettings.json file is still being used.  I get a sign in error on the deployed dev environment which indicates that it's still using the appsettings.json file.</p>
  
  <p>thanks</p>