nixpacks can't create a build plan
jkellogg01
HOBBYOP

2 years ago

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?

Closed

19 Replies

2 years 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?


jkellogg01
HOBBYOP

2 years ago

it's just dockerfile


2 years ago

needs a capital D


jkellogg01
HOBBYOP

2 years ago

oh i see!!! it worked with the lowercase d locally lol my bad


2 years ago

question, did you come across this page? -


jkellogg01
HOBBYOP

2 years ago

I didn't, why?


2 years ago

was wondering if this addition would have helped

1288216094951080036


jkellogg01
HOBBYOP

2 years 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


jkellogg01
HOBBYOP

2 years ago

or you may have told me and i forgot lol


2 years ago

now i know it wouldn't have helped, but can i inquire as to why you came here instead of searching the docs?


jkellogg01
HOBBYOP

2 years 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


2 years ago

ahhh that makes sense, docs can't help you an XY problem


jkellogg01
HOBBYOP

2 years ago

yeah


jkellogg01
HOBBYOP

2 years ago

spent a bunch of time like "wait there's a dockerfile, what problem could there be with making a build plan?"


jkellogg01
HOBBYOP

2 years ago

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


2 years ago

it might be, thank you for the input


2 years ago

have any other questions?


jkellogg01
HOBBYOP

2 years ago

no that's all I had, thanks so much for your help!


2 years ago

no problem!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...