Minimal Nuxt 3 starter application including a persisted Pinia store and Docker image setup
Nuxt 3 is still in development, therefore it is not recommended for use in production, and neither is this project. I am not a member of Nuxt/Docker development team or associated with either of these in any other way.
We recommend to look at the documentation.
Make sure to install the dependencies
npm install
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Checkout the deployment documentation.
You can pull the latest version of the image by running:
docker pull maciejpedzich/nuxt3-docker-template:latest
Once in the project's directory in your CLI, simply run:
docker build .
If you want to start the app on, say http://localhost:8080
and in detached mode, use the following command:
docker run -p 8080:3000 -d LOCALLY_BUILT_IMAGE_ID
MIT