Skip to content

Simple Nuxt 3 Docker config with PM2, Nginx, and pnpm

Notifications You must be signed in to change notification settings

medusiora/nuxt-docker-nginx

Repository files navigation

Nuxt 3 Simple Docker config

Simple Nuxt 3 Docker config with PM2, Nginx, and pnpm

Look at the Nuxt 3 documentation to learn more.

Features

Setup

Make sure to install the dependencies:

# pnpm
pnpm install

Development Server

Start the development server on http://localhost:3000:

# pnpm
pnpm run dev

Production

Build the application for production:

# pnpm
pnpm run build

Locally preview production build:

# pnpm
pnpm run preview

Production (Docker)

Build the application for production:

docker compose build \
&& docker compose down --remove-orphans \
&& docker compose up --pull always -d --wait

Check out the deployment documentation for more information.

About

Simple Nuxt 3 Docker config with PM2, Nginx, and pnpm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published