Créer une image Discourse sans intégrer le mot de passe de la base de données ?

As @brahn said set that ENV var to empty in the latest hook. The run hook should work.

You can also build another image using the bootstrapped one as a base and empty that variable in a docker file.