Where is the discourse.conf file?

You may use apt install to install nano within the container.

Furthermore, if your intention is to modify the Nginx configuration file, it is recommended to make the modifications in app.yml outside the container.