.gitignore controls which files are excluded from the build context.
How it works
When you runfloo deploy, the build system clones your repository from GitHub. Files excluded by .gitignore are never sent to the build server.
Best practices
Add large or sensitive files to.gitignore:
Dockerfile .dockerignore
If your project uses a Dockerfile, the.dockerignore file controls what gets copied into the Docker build context. This is the standard Docker mechanism:
Checking build context
The deploy output shows the build progress:.gitignore or .dockerignore.