Deployment
Deploying React SSR Apps on Bun with react-bun-ssr
Deploy react-bun-ssr apps on Bun with production build output, server startup, public assets, and a small runtime surface without a Node adapter.
deploybunflyproduction
Production deployment is straightforward because the framework only targets Bun.
Minimal flow
bun install
bun run build
bun run start
For Fly.io or similar container-based targets, build the app first and start the production server entry inside Bun.
If you want the Bun-to-framework runtime mapping behind that deployment model, see Bun Runtime APIs.
Recommended checklist
- confirm
dist/manifest.jsonexists - verify your static assets are present in
dist/client - keep
Bun.versionaligned between local validation and deployment image - decide whether
serverBytecodeshould be enabled or disabled for your environment
Related APIs
Next step
Tune runtime behavior in Configuration.