feat: Configure Next.js for standalone output, add Nixpacks deployment configuration, and disable build telemetry.

This commit is contained in:
2026-03-02 14:22:43 +01:00
parent 96e3dd15ed
commit 897e7a126b
4 changed files with 36 additions and 3 deletions

View File

@@ -7,8 +7,8 @@
},
"scripts": {
"dev": "next dev",
"build": "npx prisma generate && next build",
"start": "npx prisma generate && npx prisma db push && next start",
"build": "npx prisma generate && cross-env NEXT_TELEMETRY_DISABLED=1 next build",
"start": "npx prisma generate && npx prisma db push && node .next/standalone/server.js",
"lint": "next lint"
},
"dependencies": {
@@ -18,6 +18,7 @@
"@types/bcryptjs": "^2.4.6",
"@types/pg": "^8.16.0",
"bcryptjs": "^3.0.3",
"cross-env": "^10.1.0",
"dotenv": "^17.3.1",
"lucide-react": "^0.563.0",
"next": "16.1.6",