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
Buddy that looks like you’re starting your server on our builders lol
Dockerfile?
oh lmfao
CMD instead of RUN maybe?
CMD would fix this yes
Ok it looks like I had the wrong build command in my settings and build times are back to normal now! Thank you both!
where is this ?
I have a similar issue
can you share your dockerfile?
alternatively, if you dont need to use docker you could use nixpacks which automatcally does this for you