Nuxt 4 site built for deployment on Colify.
npm install
npm run devCompile the project for production and verify it builds:
npm run buildGenerate a static version of the site with:
npm run generatePreview the production build locally:
npm run previewThe project includes a production Dockerfile for Coolify/Docker Compose. It builds the Nuxt app into .output at image build time, then starts the Nitro server on port 3000.
The build stage includes Python, Make and a C++ compiler for better-sqlite3. These tools are not included in the runtime image. Tailwind CSS 4 uses @tailwindcss/vite and app/assets/css/tailwind.css, which loads the existing Tailwind configuration.
Run the production service with Docker Compose:
docker compose up -dThe Compose service exposes port 3000 to the Docker network for Coolify's reverse proxy. It does not bind port 3000 on the host, so multiple Coolify applications can run on the same server without host port conflicts. The service also includes a healthcheck against http://127.0.0.1:3000/.