Hmm
First, yep, Fly will default to looking for a Dockerfile
in the root folder of the application. And complain if it’s not there.
Looking at the repo, indeed it’s not there. So you could make a copy there, in the root. Or debug why dockerfile = "packages/server/Dockerfile"
doesn’t work. Since that would indeed normally be the solution to this (like if you have a Dockerfile
called something else, like Dockerfile.txt
you would do dockerfile = "Dockerfile.txt"
).
However I’m wondering if the problem you’re running into there is the presence of this line:
Since Dockerfile is treated differently when ignored. Take a look at:
So I’d try removing it from .dockerignore
and/or copy to the root folder depending on that. Those are going to be easiest to debug/edit. Then it should be able to find it.