title: My npm app is serving the files in the directory instead of the index.php contents
body: <p>I am just trying to deploy an npm app and it's showing me this (screenshot attached) instead of serving index.php on a server.</p>
  <p>Here are the logs</p>
  <pre><code>root@322cfa653cb1:/app# npx http-serve
  npx: installed 21 in 3.141s
  Starting up http-serve for ./public
  Available on:
    http://127.0.0.1:8080
    http://172.17.0.2:8080
  Hit CTRL-C to stop the server
  </code></pre>
  <p><a href="https://i.stack.imgur.com/gUPJ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gUPJ3.png" alt="Contents served on server IP" /></a></p>