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.
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.