How to deploy an app that uses rollup

Hi, @appukuttan-shailesh. I believe this support guide should have the answer:

To summarize, Netlify build image is designed to run commands which create static files to be deployed to our CDN.

Your command isn’t building static files for deployment. Your command is running a server that serves the responses and isn’t supported at Netlify.

If might be possible to use Netlify Functions for this instead, though, if you are creating an API:

If there are other questions about this, please let us know.