R
Railway2mo ago
sowing

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?
Solution:
needs a capital D
Jump to solution
16 Replies
Percy
Percy2mo ago
Project ID: 93688d4f-b1a7-49e5-b5ac-2b1d92a7d6b1
Brody
Brody2mo ago
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?
sowing
sowingOP2mo ago
it's just dockerfile
Solution
Brody
Brody2mo ago
needs a capital D
sowing
sowingOP2mo ago
oh i see!!! it worked with the lowercase d locally lol my bad
Brody
Brody2mo ago
question, did you come across this page? - https://docs.railway.app/reference/dockerfiles
sowing
sowingOP2mo ago
I didn't, why?
Brody
Brody2mo ago
was wondering if this addition would have helped
No description
sowing
sowingOP2mo ago
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
Brody
Brody2mo ago
now i know it wouldn't have helped, but can i inquire as to why you came here instead of searching the docs?
sowing
sowingOP2mo ago
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
Brody
Brody2mo ago
ahhh that makes sense, docs can't help you an XY problem
sowing
sowingOP2mo ago
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
Brody
Brody2mo ago
it might be, thank you for the input have any other questions?
sowing
sowingOP2mo ago
no that's all I had, thanks so much for your help!
Brody
Brody2mo ago
no problem!
Want results from more Discord servers?
Add your server