Running meteor --port 8000 over ssh detached from shell

I built a dumb application that handles signups for an event for our internal network.
Currently I deploy over ssh using meteor --port 8000.

I’ve tried meteor --port 8000 &
This doesn’t detach from the terminal. If I close the terminal the server shutsdown.
I don’t have an extra server right now to deploy this tiny application on. Nor do I think the hassle would justify deploying.

Any advice?

What about running it in tmux or screen? Preferrably with --production (minifies JS and CSS).

Or just build it with meteor build --directory /some/path/ and run the bundle. It’s not that much extra work. But you would need running MongoDB server.

1 Like

Thank you @helb! That worked.