Blocked Host error while trying to access my app which is inside docker

I’m getting this error while trying to open my app which is inside a docker

Blocked host: xx.xxx.xxx
To allow requests to xx.xxx.xxx, add the following to your
environment configuration: config.hosts << “xx.xxx.xxx”

and based to another post here I’ve to edit config/environments/development.rb file to add the following line config.hosts << "xx.xxx.xxx" the idea here is that I’m running this app from inside a docker and I’ve searched for this file development.rb from inside and outside the docker but I can’t find it.

Source: StackOverflow