title: How to test dockerignore file?
body: <p>After reading the <a href="https://docs.docker.com/engine/reference/builder/#/dockerignore-file" rel="noreferrer"><code>.dockerignore</code> documentation</a>, I'm wondering if there is a way to test it? </p>
  
  <h2>Examples</h2>
  
  <pre><code>**/node_modules/
  </code></pre>
  
  <p>How do I check my dockerfile ignore the correct files and directories?</p>