This is a Dockerfile template to run Next.js with Bun runtime on mogenius. We use it to deploy Bun with Next.js on mogenius. The template was bootstrapped with the Bun CLI.
mogenius is the easiest way to run bun in the cloud. It's free, so sign up now and deploy your app with mogenius.
mogenius
- Read the docs: docs.mogenius.com
- Join our Discord community: discord.gg/WSxnFHr4qm
- Submit your ideas: feedback.mogenius.com
Next.js
- learn about Next.js features and API. Next.js Documentation
- an interactive Next.js tutorial. Learn Next.js
Bun
Please note, that running docker build won't work on Apple Silicon Chipped Computers by now. The Bun install command will not work. Running the application normaly works fine.
To get started with bun run curl https://bun.sh/install | bash
After you have completly installed Bun, you can run this project by executing bun dev
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.