nestjs app will not start via Dockerfile + cmd
Project ID: 35c2c647-0f2a-44db-a175-d671a74cb289
Application tries to start and just loops:
Solution:Jump to solution
its possible that theres a memory spike that tries to use more than 512mb, you just dont see it on the graph since it doesnt report that fast
19 Replies
Project ID:
35c2c647-0f2a-44db-a175-d671a74cb289
at first glance it looks like your app is silently crashing
one reason may be an out of memory crash, what do your memory metrics look like
Yeah, I've been trying to get this app up for days 😓 thanks for the quick response
![No description](https://cdn.answeroverflow.com/1172329757405364234/Screen_Shot_2023-11-10_at_01.19.47.png)
send the dockerfile?
I've rewritten it so many times
I'll pull it, one second
This is the latest iteration
Here is the script to start the app
I was going to try with Nixpack.. but this seems like a whole other process.
does this dockerfile work locally?
Yes
Solution
its possible that theres a memory spike that tries to use more than 512mb, you just dont see it on the graph since it doesnt report that fast
can you try upgrading to the hobby plan?
This is local docker stats. You might be right
![No description](https://cdn.answeroverflow.com/1172333590533656606/Screen_Shot_2023-11-10_at_01.34.55.png)
yep looks like it needs much more than 512mb at the start