Django Build taking hours

I pushed up some old code in a side project that broke my build some how. Every time I try to run it, get's stuck on this part of the build and never starts to deploy. Does anyone know how to point me in the right direction to fix this? Project info: I'm using django, with postgress DB. Project ID: dc5cf0ce-0bcc-4ac0-8f95-566987aae101 #13 1.368 [2022-10-10 20:38:54 +0000] [1] [INFO] Starting gunicorn 20.1.0 #13 1.368 [2022-10-10 20:38:54 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) #13 1.369 [2022-10-10 20:38:54 +0000] [1] [INFO] Using worker: sync #13 1.373 [2022-10-10 20:38:54 +0000] [10] [INFO] Booting worker with pid: 10
7 Replies
JustJake
JustJake3y ago
Buddy that looks like you’re starting your server on our builders lol Dockerfile?
valerie phoenix
valerie phoenixOP3y ago
oh lmfao
JustJake
JustJake3y ago
CMD instead of RUN maybe?
angelo
angelo3y ago
CMD would fix this yes
valerie phoenix
valerie phoenixOP3y ago
Ok it looks like I had the wrong build command in my settings and build times are back to normal now! Thank you both!
MadeInShineA
MadeInShineA3y ago
where is this ? I have a similar issue
milo
milo3y ago
can you share your dockerfile? alternatively, if you dont need to use docker you could use nixpacks which automatcally does this for you
Want results from more Discord servers?
Add your server