Skip to content

Docker

.dockerignore Generator

Pick your stack and get a merged .dockerignore - a missing one silently bloats every build's context, not just the image.

Stack & meta files to exclude

# Generated with ArchSetu - https://www.archsetu.com/tools/dockerignore-generator
# A missing .dockerignore sends these directories to the Docker daemon as
# build context on every build, even though nothing in them ends up in the
# image - it's a build-speed problem, not just a cleanliness one.

.git
.gitignore
.dockerignore
**/.DS_Store
*.md
.vscode/
.idea/
node_modules/
npm-debug.log*
.npm
dist/
build/
coverage/
.env
.env.local
Dockerfile*
docker-compose*.yml
.github/
.gitlab-ci.yml
.circleci/
.travis.yml