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
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
yep looks like it needs much more than 512mb at the start
Thanks. I'm spinning it up with hobby now to take a look
That's frustrating that there's no feedback or anything
🙄
It's up
well i guess you cant really expect stable results when an app is trying to use more memory than allowed
Fair enough. Thanks for your help
no problem 🙂