Does NODE_ENV affect build environment or only for runtime environment

I guess what you mentioned is related to Deployment but in my case the admin panel and the frontend are on the same server.

It is always listening on 0.0.0.0