title: Excluding all hidden files with .dockerignore
body: <p>I'm trying to exclude from my Docker image all hidden files (starting with a dot) from all directories of the project.</p>
  
  <p>To exclude <code>.git</code> and <code>.gitingore</code>: <code>.git*</code></p>
  
  <p>To exclude all <code>.keep</code> files: <code>**/.keep</code> works</p>
  
  <p>For all hidden files, I tried: <code>**/.*</code>, But that excludes all files containing a dot, like <code>**/*.*</code> does.</p>