GuideDeployment
Edit this page

Deployment

Deploying on Bun

Ship the production build under Bun with a small deployment surface and no Node adapter layer.

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.