Skip to content

nklsw/nuxt3-docker-starter

Repository files navigation

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.