title: Why Docker Image getting so large for node js app
body: <p>here is the screenshoot of my Dockerfile:
  <a href="https://i.stack.imgur.com/pWdvS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pWdvS.png" alt="enter image description here" /></a></p>
  <p>And this is my Docker image file:
  <a href="https://i.stack.imgur.com/cYYtW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cYYtW.jpg" alt="enter image description here" /></a></p>
  <p>why I getting large docker image using this Dockerfile command eventhough I have add the .dockerignore to ignore node modules, is there any way to solve this image size ? Can we use webpack to bundle and implement tree shaking and make the size smaller for prodction</p>