fly deploy support context

We have a few images that build from a context above the Dockerfile in a monorepo, opening a thread to see if there’s any other interest in having flyctl support something like fly deploy [path/to/app] or perhaps fly deploy --context ../..

fly deploy path/to/app should already work. If your fly.toml is in a different directory, you may need to pass -c path/to/fly.toml as well. You can even specify --dockerfile path/to/Dockerfile.

What about a Docker context that is in a different directory than the Dockerfile itself?

The path you pass into flyctl deploy is the docker context. There’s a few examples in the docs that cover it Monorepo and Multi-Environment Deployments