nuxt3-docker-starter icon indicating copy to clipboard operation
nuxt3-docker-starter copied to clipboard

⚡ Minimal Starter for creating dockerized Nuxt 3 applications

Dockerized Nuxt 3 Starter

Working with Docker containers is a convinient way to seperate local machines ressources and configuration from development environments. This minimal project is a starter for creating dockerized Nuxt 3 applications.

Prerequisites

Make sure that docker and docker-compose are installed on your local machine.

Setup

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

docker compose up

Production

🚧 WIP

Build the docker container for production:

docker build -t nuxt_build .

Run nuxt build inside the container:

docker run -it nuxt_build npm run build

Checkout the official Nuxt 3 deployment documentation for more information.