It is variant of Next.js Docker with ready-to-go tailwindcss.
Run your next.js app in container.
With one command you will have simulesly working DEV and PROD enviorment. It's really usefull to test your app on both enviorments during development.
By default, it is typescript version of Next.js
git clone https://github.com/pavelee/next-js-docker.git
docker-compose up -d
- DEV -> http://localhost:3000
- PROD -> http://localhost:3001
Production is optimized and not changing with files editing. If you would like to refresh production build, you need to rebuild docker image by command:
docker-compose up -d --build --force-recreate