Haven't seen this before.
Which OS is this running? uname -a would help.
Copy option is not available on heroku bash so I am adding screenshot of output.

Is there any option to save logs or something?
Not sure what the could be. Can you try running the docker container inside Heroku?
I don't have much experience with docker container. I will read heoku docs and try to run a docker container there.
Has anyone been successful with running on heroku?
Marking as wontfix. Use their heroku.yml and build a custom stack for it.
Hi, guys.
i change image for run on heroku, you can try it https://hub.docker.com/r/ivang7/code-server-heroku
What changes were necessary?
i changed Docker file, add env variable PORT (need for heroku) and replace entrypoint to CMD command, also add download lastest release for include it in image, full file in gist:
https://gist.github.com/ivang7/7835a15277482b1a414f880ff7ca9723
I think all we need to do is add support for the $PORT variable to code-server. This bus error issue must have been something else.
Opened #1444