nextjs-docker-nginx

Description

I needed to refresh my Docker and nginx skills to troubleshoot an ongoing problem with dev environments at work, so I worked through this post and now I have this simple boilerplate for a Dockerized next.js project.

Setup

You need Docker.

To create a new next.js project based on this boilerplate, run: git clone git@github.com:jamidwyer/nextjs-docker-nginx.git <YOUR_PROJECT_NAME>

Dev

docker-compose up