Bun + Next JS 14 + Dockerfile run build failed timed out
Hi! The run build crashes due to timeout, please look, what's wrong with this? Service ID 9783c8b7-ca0f-4738-97aa-1a467c5d8626
Solution:Jump to solution
This was not an issue with the platform, Vercel does a lot of hand holding and was likely fixing whatever issue you have behind the scenes, Railway by contrast will only run your code as-is.
11 Replies
Project ID:
9783c8b7-ca0f-4738-97aa-1a467c5d8626
Project ID: 87b87ea9-0d89-419b-b8e7-0e991a622829
your build took too long to complete and was timed out
Well, this is already clear)) but what to do in this case? increase resources?
I switched to the $20 plan, please help me solve my problem with the installation
the hobby plan has a timeout of 20 minutes and the pro plan has a timeout of 60 minutes, but theres something wrong with your project if it even takes 20 minutes
Well, I'm using a custom docker file from here https://bun.sh/guides/ecosystem/docker
does it work locally?
yes
i meant the dockerfile
Yesterday I spent a lot of time and still couldn’t get the project up and running. Then, as an experiment, I did the same on a free Vercel account and the project went up without any problems. I’m very sorry that your service does not support Bun, the last one in the Next 14 together, my money and my time were wasted. Thank you for responding to help, but your service clearly needs an upgrade in terms of builds and deployments, good luck 😐
Solution
This was not an issue with the platform, Vercel does a lot of hand holding and was likely fixing whatever issue you have behind the scenes, Railway by contrast will only run your code as-is.