ASPNETCORE_ENVIRONMENT in Docker

前端 未结 5 1214
温柔的废话
温柔的废话 2021-01-17 07:35

i have problems setting the ASPNETCORE_ENVIRONMENT variable running my project in a docker container. The problem is that the value is alwa

5条回答
  •  情歌与酒
    2021-01-17 08:08

    In the docker-compose.override.yml file, you should find something like that:

    version: '3.4'
    
    services:
      webapplication1:
        environment:
          - ASPNETCORE_ENVIRONMENT=Development # <==
    

提交回复
热议问题