Open marcusrohden opened 2 years ago
hey @marcusrohden
I've been a long time user of Heroku myself. However I had a quick play around with it and couldn't get it to work on heroku for some reason with docker. I figured it probably has more to do with not being a docker expert than Heroku but never got it over the line - So unfortunately I don't have an answer for you.
However if you do get it working I would love it if you come back and let me know what you did and I will write up a little tutorial / help section. I'm sure whatever it is is just a little tweak somewhere.
Hey @rknell, No problems and thanks for putting the time to answer. I will keep looking at it and post here if I find any solution.
Hi, I could follow all your steps and it runs perfectly with docker on local host. Now I'm trying to deploy it to heroku instead Google Cloud Run but I keep receiving the error "cannot find 'app/bin/server'" after the deploy.
Would you know how to do it?
I've created a file called 'heroku.yml' with the code:
follow my heroku log:
2022-01-19T16:47:37.015961+00:00 heroku[web.1]: State changed from crashed to starting 2022-01-19T16:47:37.733190+00:00 heroku[web.1]: Starting process with command
/app/bin/server
2022-01-19T16:47:38.934300+00:00 app[web.1]: Error: No such file or directory 2022-01-19T16:47:39.354777+00:00 heroku[web.1]: State changed from starting to crashed 2022-01-19T16:47:39.392277+00:00 heroku[web.1]: State changed from crashed to starting 2022-01-19T16:47:40.018558+00:00 heroku[web.1]: Starting process with command/app/bin/server
2022-01-19T16:47:39.050479+00:00 heroku[web.1]: Process exited with status 126 2022-01-19T16:47:41.558603+00:00 app[web.1]: Error: No such file or directory 2022-01-19T16:47:41.690290+00:00 heroku[web.1]: Process exited with status 126 2022-01-19T16:47:41.891145+00:00 heroku[web.1]: State changed from starting to crashedthank you