You've built your app. Now you need to put it somewhere.
Alepha compiles to a standard Node.js application, but we optimize the output for different deployment targets. Same code, different runtimes. You write once, deploy anywhere.
npx alepha build
This single command does a lot:
dist/.Add flags to target specific platforms:
npx alepha build --vercel # Vercel serverless
npx alepha build --cloudflare # Cloudflare Workers
npx alepha build --docker # Docker container
npx alepha build --stats # Show bundle analysis
| Target | Command | Best For |
|---|---|---|
| Docker | --docker |
Full control, any hosting |
| Vercel | --vercel |
Easiest deployment, great DX |
| Cloudflare | --cloudflare |
Edge performance, global reach |
Pick based on your needs:
Your Alepha code stays the same. Only the deployment target changes.