Why does it crash in Heroku using docker?

BTW similar issue is mentioned in the thread Support for Heroku

UPDATE: in the mentioned thread, one of the suggestions worked for me.