Didn't read the article, but based on the title, I think it's a spelling mistake...
The author likely meant .dockerignore everything, that is the way to go.