Is railway a good choice for hosting a static frontend?

I know I can just deploy using npm serve but the constant running server seems wasteful compared to some other options. Is there no way to avoid running server costs when deploying static sites? It seems great for db+backend and I'd love it to be an all in one solution.
I think a small NGINX server shouldn't cost terribly much.
In this case, I would recommend Vercel's free plan over our solution if cost is the primary concern. You could then use our Vercel integration.