Which package(s) does this bug affect?
Package versions
What happened?
When you change the development flag, to get Grafana to run in production, while running docker-compose it won't be respected. Looks like one of the reasons is line 19 in the .config/Dockerfile. It is setting the ENV GF_DEFAULT_APP_MODE "development" always regardless of what the passed development flag is set to.
What you expected to happen
I want to test running Grafana in production mode.
How to reproduce it (as minimally and precisely as possible)
- Scaffold a new plugin
- Try to build the plugin and run Grafana in production mode.
- Open the browser and inspect the build settings
- The buildInfo.env flag is still set to
development
Environment
Additional context
No response
Which package(s) does this bug affect?
Package versions
What happened?
When you change the
developmentflag, to get Grafana to run in production, while running docker-compose it won't be respected. Looks like one of the reasons is line 19 in the.config/Dockerfile. It is setting theENV GF_DEFAULT_APP_MODE "development"always regardless of what the passed development flag is set to.What you expected to happen
I want to test running Grafana in production mode.
How to reproduce it (as minimally and precisely as possible)
developmentEnvironment
Additional context
No response