GuideDeployment
Edit this page

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.

  • confirm dist/manifest.json exists
  • verify your static assets are present in dist/client
  • keep Bun.version aligned between local validation and deployment image
  • decide whether serverBytecode should be enabled or disabled for your environment

Next step

Tune runtime behavior in Configuration.