nixpacks can't create a build plan
jkellogg01
HOBBYOP

a year 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?

19 Replies

a year 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

a year ago

it's just dockerfile


a year ago

needs a capital D


jkellogg01
HOBBYOP

a year ago

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


a year ago

question, did you come across this page? -


jkellogg01
HOBBYOP

a year ago

I didn't, why?


a year ago

was wondering if this addition would have helped

1288216094951080000


jkellogg01
HOBBYOP

a year 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

a year ago

or you may have told me and i forgot lol


a year 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

a year 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


a year ago

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


jkellogg01
HOBBYOP

a year ago

yeah


jkellogg01
HOBBYOP

a year ago

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


jkellogg01
HOBBYOP

a year 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


a year ago

it might be, thank you for the input


a year ago

have any other questions?


jkellogg01
HOBBYOP

a year ago

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


a year ago

no problem!


Loading...