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:
To allow requests to, add the following to your
environment configuration: config.hosts << “”

and based to another post here I’ve to edit config/environments/development.rb file to add the following line config.hosts << "" 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