Application failed to build
jaronoff97
HOBBYOP

2 years ago

I have a dockerfile in /<path>/Dockerfile, but most of my app's code is in a subdirectory. I have set RAILWAY_DOCKERFILE_PATH=/<path>/Dockerfile, but the builder is trying to do a nixpacks build from my subdirectory?

Solved

14 Replies

2 years ago

Is it Dockerfile with a capital D?


jaronoff97
HOBBYOP

2 years ago

@brody yes.


jaronoff97
HOBBYOP

2 years ago

wait why didn't my post's content come through?


2 years ago

We may never know.



jaronoff97
HOBBYOP

2 years ago

here are the logs :)

Attachments


jaronoff97
HOBBYOP

2 years ago

Note: I disabled the "new builder" and it worked as expected!


2 years ago

What do you have your root directory set to?


jaronoff97
HOBBYOP

2 years ago

`/otelcol`


2 years ago

Where is your Dockerfile located?


jaronoff97
HOBBYOP

2 years ago

/otelcol/Dockerfile


2 years ago

Yep that's a known issue with the v2 builder, it won't look for a Dockerfile in the set root directory.

The team is aware!


2 years ago

This has now been fixed, please try switching back to the V2 builder.


Status changed to Solved Railway over 1 year ago


jaronoff97
HOBBYOP

2 years ago

Awesome, works great. thank you!


Loading...