Dockerfile 'DockerFile' does not exist
ksnks
HOBBYOP

2 months ago

Hey, I’m having an issue since yesterday

My project had been properly set up with a Dockerfile for several weeks
I made an update today (I didn’t touch the Dockerfile at all, only modified a script that has nothing to do with Docker) and now it’s impossible to build the project i keep getting this error:

Dockerfile 'DockerFile' does not exist

The naming is correct, the path too, and I haven’t changed it since, it was working perfectly fine before

This problem is also affecting all my other projects that use a Dockerfile I tried making a random update on another project using Dockerfile too that worked perfectly before, and I’m getting the exact same issue 'Dockerfile 'DockerFile' does not exist'

18 Replies

2 months ago

What is the path of your Dockerfile that you have configured in Railway, and what is the actual path of it in your repo.


ksnks
HOBBYOP

2 months ago

1459915759009534200
1459915759265517600


ksnks
HOBBYOP

2 months ago

the path is /Dockerfile and it’s located at the root of my project


2 months ago

In Railway, do you have the root directory configured?


ksnks
HOBBYOP

2 months ago

no, which one should i select? (and thanks for the help btw)

1459916527267479600


2 months ago

Neither, purely just a question.


2 months ago

Can you provide the link to your failing deployment so we can look into this further?


ksnks
HOBBYOP

2 months ago

the deployment id is e09896ac-33c7-434c-9c43-8eec0ad09f08



2 months ago

In GitHub, is your Dockerfile named DockerFile, with a capital F?


ksnks
HOBBYOP

2 months ago

yeah right

1459918655792873500


2 months ago

How long ago did this start failing?


ksnks
HOBBYOP

2 months ago

since yesterday but i didnt had to update my project for some weeks / month so i don't know exactly but i noticed it yesterday


2 months ago

Gotcha, can you try to switch to the Metal builder


ksnks
HOBBYOP

2 months ago

i just have to toggle this one and redeploy right?

1459923324615524600


2 months ago

Yes.


ksnks
HOBBYOP

2 months ago

all good thanks for the help! working with the Metal Build Environment

1459924330690646000


2 months ago

Awsome!


Loading...