1. create .dockerignore file next to Dockerfile file 2. add to it: node_modules npm-debug.log
$ echo node_modules >> .dockerignore