title: Reactjs docker nginx app keeps throwing EMFILE: too many open files, open '/app/build/
body: <p>I'm running into this issue anytime there's a lot of traffic on the site.
  Below is a snapshot of the error logs. I've been trying to pin point what's causing the error with no success. I can't replicate the error locally.</p>
  <p>I'm serving the production built using</p>
  <pre><code>npx serve -s build -l 80
  </code></pre>
  <pre><code>- INFO: Gracefully shutting down. Please wait...
  
  - events.js:174
  - throw er; // Unhandled 'error' event
   ^
  - Error: EMFILE: too many open files, open '/frontend/build/index.html'
  - Emitted 'error' event at:
  - at lazyFs.open (internal/fs/streams.js:115:12)
  - at FSReqWrap.args [as oncomplete] (fs.js:140:20)
  </code></pre>