Skip to content

Npfries/docker-e2e-nextjs

Repository files navigation

This repo is intended to demonstrate the end to end lifecycle of a Next.js application with Docker. It was created with npx create-next-app@latest as documented on the Next.js project website.

There are several Docker commands in the Makefile for convenient use of the project.

make start

// docker compose -f ./docker/docker-compose.yml -f ./docker/docker-compose.start.yml -p my_project up -d --build
make dev

// docker compose -f ./docker/docker-compose.yml -f ./docker/docker-compose.dev.yml -p my_project up -d --build
make prod

// docker compose -f ./docker/docker-compose.yml -f ./docker/docker-compose.prod.yml -p my_project up -d --build
make prod_static

// docker compose -f ./docker/docker-compose.yml -f ./docker/docker-compose.prod_static.yml -p my_project up -d --build
make build
make stop

// docker compose -f ./docker/docker-compose.yml -p my_project down -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages