How can I run a Node.js script in production?

Absolutely. Remove the [build] section from your fly.toml and if you are using yarn, try the Dockerfile I just posted. All you should have to change is the NODE_VERSION line.

If you are using npm or pnpm, other adjustments will need to be made. Post here if you need help.