Note there's a difference between gitignore and dockerignore; in .gitignore, files without a leading slash match files in every folder, while in .dockerignore, they match files in the root folder