.flooignore file. floo never uploads your working directory: every
build uses committed source from your connected GitHub repository.
floo redeploy without --rebuild reuses the previous image. Two standard files decide what
the build sees: .gitignore controls which untracked files Git ignores, and .dockerignore
decides what the Docker build context includes.
How it works
- floo downloads the commit’s source from GitHub. Untracked files never
reach the build server.
.gitignoreprevents new matching files from being tracked; it does not remove files already committed. - Each service builds with its own
pathas the Docker build context, and itsDockerfilemust sit inside that directory, unless the service setsdockerfile, which makes the repository root the context. See Monorepos. - Docker applies the
.dockerignoreat the root of the build context (beside theDockerfileby default) before sending the context to the builder.
.dockerignore are downloaded but excluded from the image build.
Keep large and sensitive files out of git
Add them to.gitignore:
.gitignore
floo env set, not in the repository. See
Environment variables.
Trim the Docker build context
.dockerignore is the standard Docker mechanism and works unchanged on floo:
.dockerignore
COPY . . from dragging local artifacts into the image.
Checking the build
The deploy output shows build progress:.gitignore or .dockerignore, and use a multi-stage build so only the built
output lands in the final image. See
Dockerfiles and the
container contract.