fly deploy --remote-only ignores the custom .dockerignore file

I’m using fly deploy --ignorefile to point it to the ignore files but still all my files are uploaded to the server. However, if I specify a custom dockerignore in a sub-directory, and have a .dockerignore in the root directory, it doesn’t use the one I specified but rather the .dockerignore in the root directory. I think this is an issue with flyctl.

1 Like

Tagging with flyctl and issue; no specific Buildkit tag, unfortunately…

Hi… Does this behavior change if you set the environment variable DOCKER_BUILDKIT=false ?

https://community.fly.io/t/newbie-q-how-to-print-capture-a-file-from-dockerfile/17088/2

(This opts you in to a slower but simpler and easier-to-follow upload protocol.)

doesn’t work

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.