Nixpacks is automatically selected
toastl
HOBBYOP

a year ago

All right, im pretty new but i cant find anything about this in the documentation. I wanted to make a project with vlang so i added my github repository and i wanted it to automatically select Dockerfile as builder(which i read it should), but it currently uses Nixpacks as builder,

Project ID: 6d2f4751-be06-496a-afde-260aa154c058

Solved

15 Replies

a year ago

your repo will only use a Dockerfile as a builder if you have a file named Dockerfile in the root directory, or point Railway to your dockerfile in the service settings


a year ago

I’m sorry I fully blanked the first image. Is that the root directory of your project?


toastl
HOBBYOP

a year ago

the dockerfile is actually in the root directory


toastl
HOBBYOP

a year ago

heres a better image

1345019811671048200


a year ago

Hm odd. I’ll have to tag in @Brody here to take a closer look at your project


toastl
HOBBYOP

a year ago

okay sure


toastl
HOBBYOP

a year ago

i also tried to add the "RAILWAYDOCKERFILEPATH" variable but that didnt really do much


toastl
HOBBYOP

a year ago

bruh what, i added a builder variable and now it works


a year ago

what is a builder variable in this context?


toastl
HOBBYOP

a year ago

well i thought if i set it to dockerfile it might change, and i guess it did. if this isnt supposed to do anything im fine with it cuz it works now lol

1345058275925819400


a year ago

haha im not aware of any BUILDER variable


a year ago

did chatgpt told you to do that


toastl
HOBBYOP

a year ago

lol no but i saw some builder variable in a yaml file so i thought why not add it like this


a year ago

good enough for me


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...