Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# Dev or Prod
docker build -t frontend --target dev .
# Run docker container (Add -d flag for no console watcher)
docker run -p 3000:3000 -v $(pwd):/var/www --name frontend frontend
Make sure to install the dependencies:
bun install
bun run dev
Build the application for production:
bun run build
bun run preview
Использовать pm2 или dumb-init для docker
Check out the deployment documentation for more information.