Dockerfile 'DockerFile' does not exist
ksnks
HOBBYOP

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

brody
EMPLOYEE

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

a month ago

1459915759009534200
1459915759265517600


ksnks
HOBBYOP

a month ago

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


brody
EMPLOYEE

a month ago

In Railway, do you have the root directory configured?


ksnks
HOBBYOP

a month ago

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

1459916527267479600


brody
EMPLOYEE

a month ago

Neither, purely just a question.


brody
EMPLOYEE

a month ago

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


ksnks
HOBBYOP

a month ago

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



brody
EMPLOYEE

a month ago

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


ksnks
HOBBYOP

a month ago

yeah right

1459918655792873500


brody
EMPLOYEE

a month ago

How long ago did this start failing?


ksnks
HOBBYOP

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


brody
EMPLOYEE

a month ago

Gotcha, can you try to switch to the Metal builder


ksnks
HOBBYOP

a month ago

i just have to toggle this one and redeploy right?

1459923324615524600


brody
EMPLOYEE

a month ago

Yes.


ksnks
HOBBYOP

a month ago

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

1459924330690646000


brody
EMPLOYEE

a month ago

Awsome!


Loading...