Error while docker run for Node JS application : Error: /usr/src/app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header

  1. Create a .dockerignore file in the root of your app and add: node_modules