nextjs-docker

⚡ Optimize your Next.js builds with this Dockerfile for faster CI/CD workflows, leveraging advanced caching, multi-stage builds and minimal image size.

nodejsgraphqldockernginxboilerplatedjangodocker-composebest-practicesrolluppostgresqlprettierstarter
FreeRepo

Preview

nextjs-docker preview

Overview

This is a Docker configuration for Next.js applications designed to speed up build times in continuous integration environments through multi-stage builds, dependency caching and the Bun package manager. It uses modern Docker features to reduce rebuild times while keeping final image size small, making it suitable for teams that deploy frequently and need fast, lightweight containerized Next.js applications.

Features

multi-stage-docker-buildsbuildkit-cache-mountsbun-package-managerstandalone-outputlayer-caching-optimizationnginx-reverse-proxydocker-composegraphql-support

Feature Flags

invoicesecommercegraphqlcachingmapsdockerci

Recommended Use Cases

ci-cd-optimizationcontainerized-nextjs-deploymentfast-docker-buildsproduction-ready-deployment

Frontend

nextjsreacttailwindcss

Backend

nodejsbun

Auth Providers

None

Deployment Targets

dockerdocker-compose

Payment Providers

None

Quick Facts

⭐ Stars
0
🍴 Forks
0
🔄 Active
Unknown

Stack

Framework
nextjs
Language
javascript
CSS
tailwindcss
Database
postgresql
CI
docker

Data Layer

Databases
postgresql

UI Stack

Styling
tailwindcss

Developer Experience

Docker
Yes
Tests
No
Quickstart
Yes
env.example
No
CI
docker

Pricing

Classification
free
Selected
Notes
Open source boilerplate template
Get Started with this Boilerplate