nixpacks can't create a build plan
project id 93688d4f-b1a7-49e5-b5ac-2b1d92a7d6b1
I'm trying to deploy a monolithic full stack app with a go server that serves a static react app. The dockerfile in the root of my directory is set up to build everything the way i want it to deploy so I thought nixpacks would just take that and run it but it's saying it can't generate a build plan. Is it possible this is because I'm using bun to build the react app, or would something else be causing it?
16 Replies
Project ID:
93688d4f-b1a7-49e5-b5ac-2b1d92a7d6b1
nixpacks has absolutely nothing to do with the build when a Dockerfile is in use, they are a completely separate build process.
what is the name of your Dockerfile?
it's just
dockerfile
Solution
needs a capital D
oh i see!!! it worked with the lowercase d locally lol my bad
question, did you come across this page? - https://docs.railway.app/reference/dockerfiles
I didn't, why?
was wondering if this addition would have helped
probably would be a useful change, but I found out because you told me about it so it just never came up until now
or you may have told me and i forgot lol
now i know it wouldn't have helped, but can i inquire as to why you came here instead of searching the docs?
I did look at the docs, I was just looking in the wrong place because the deploy error came from nixpacks and I didn't have any reason to suspect there was a problem with my dockerfile
ahhh that makes sense, docs can't help you an XY problem
yeah
spent a bunch of time like "wait there's a dockerfile, what problem could there be with making a build plan?"
might be a specific error that would be worth having a specific error message for, especially because docker itself is case-insensitive when it's looking for a dockerfile
it might be, thank you for the input
have any other questions?
no that's all I had, thanks so much for your help!
no problem!