How to deploy NextJS app using Docker with Bun nextjs

How to deploy NextJS app using Docker with Bun

Deploy a NextJS app with Docker and Bun using a three-stage Dockerfile: install dependencies with a frozen lockfile, build the app, then run the standalone output on oven/bun:alpine. Faster installs than npm and a small production image, step by step.

Oct 21, 2024

Dockerizing NextJS for development - Quickstart guide nextjs

Dockerizing NextJS for development - Quickstart guide

Dockerize NextJS development with docker-compose watch: sync ./src into the container, rebuild on dependency changes, and keep hot reload working. A complete docker-compose.yml and Dockerfile you can copy for a reproducible dev environment in minutes.

Sep 16, 2024

How to work with metadata in NextJS? react

How to work with metadata in NextJS?

Metadata in NextJS drives SEO and social sharing. How to define static metadata with the metadata export, build consistent titles with templates, inherit and override values across routes, and generate dynamic metadata from fetched data.

Jul 15, 2024