Glossary term
What is .dockerignore (.dockerignore file)?
.dockerignore stands for .dockerignore file.
A file listing paths to leave out of the build context so secrets and junk do not enter the image.
Learn it properly · Docker & KubernetesLesson 1: Writing a Dockerfile: Layers, Caching and Small ImagesInstruction by instruction, layer caching, multi-stage builds, base image choice, .dockerignore, and a Node app image built the right way.