title: After using Docker in my puppeteer project it is not working. Giving error
body: <p>Recently I'm using docker in my existing MERN project and <strong>scraping</strong> data using Puppeteer.It was working fine but once I used docker it is not working. Giving following errors.</p>
  <pre><code>----------- Open the browser ------------
  server    | Could not create a browser instance =&gt; :  Error: Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT
  server    | 
  server    | 
  server    | TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
  server    | 
  server    |     at onClose (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
  server    |     at ChildProcess.&lt;anonymous&gt; (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:185:85)
  server    |     at ChildProcess.emit (events.js:314:20)
  server    |     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
  server    |     at onErrorNT (internal/child_process.js:468:16)
  server    |     at processTicksAndRejections (internal/process/task_queues.js:80:21)
  server    | ----------- Open a new page ------------
  server    | Could not create a new page =&gt; :  TypeError: Cannot read property 'newPage' of undefined
  server    |     at startPage (/app/controller/helper/browserHelper.js:35:26)
  server    |     at businessinsiderOld (/app/controller/businessinsider/old.js:13:16)
  server    |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
  server    | (node:33) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'goto' of undefined
  server    |     at businessinsiderOld (/app/controller/businessinsider/old.js:16:14)
  server    |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
  server    | (node:33) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  server    | (node:33) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  
  
  </code></pre>
  <p>Here is my server dockerfile</p>
  <pre><code>FROM node:14.5.0
  WORKDIR /app   
  COPY package.json ./
  RUN npm install
  COPY . .
  EXPOSE 9000
  CMD [&quot;npm&quot;,&quot;start&quot;]
  
  </code></pre>