Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoistStart the development server on http://localhost:3000
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheck out the deployment documentation for more information.
-
Install both docker and docker compose
-
Build docker image:
docker compose build -
Run the container:
docker compose upYou can also run the container in the background by adding the
-dflag -
To stop the container:
docker compose stop