Reserch questions, .dockerignore file

This suppose to be true, correct?


It’s recommended to avoid sending unwanted files to the build context by using .gitignore file to exclude those files.

.gitignore tells git which files (or patterns) it should ignore - it has nothing to do with Docker.

The file that controls what should not be sent to the docker context is .dockerignore
It has the same format as a .gitignore