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.
Make sure that docker and docker-compose are installed on your local machine.
Start the development server on http://localhost:3000
docker compose up
🚧 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.