feat: initialize admin service with nixpacks configuration and move dotenv to production dependencies
All checks were successful
Build and Push App / build (push) Successful in 5m49s

This commit is contained in:
2026-04-19 22:05:27 +02:00
parent 3958f84e03
commit bcbb004d87
4 changed files with 7 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
[phases.build] [phases.build]
cmds = ["npm install", "npx prisma generate", "npm run build"] cmds = ["npm install", "npx prisma generate", "npm run build"]
[phases.start] [start]
# Exécute prisma db push avant de lancer l'application pour synchroniser le schéma # Exécute prisma db push au runtime (démarrage du conteneur)
cmds = ["npx prisma db push --accept-data-loss", "npm start"] cmd = "npx prisma db push --accept-data-loss && npm start"

View File

@@ -30,7 +30,6 @@
"@types/pg": "^8.20.0", "@types/pg": "^8.20.0",
"@types/react": "^19", "@types/react": "^19",
"@types/react-dom": "^19", "@types/react-dom": "^19",
"dotenv-cli": "^11.0.0",
"eslint": "^9", "eslint": "^9",
"eslint-config-next": "16.2.3", "eslint-config-next": "16.2.3",
"tailwindcss": "^4", "tailwindcss": "^4",

View File

@@ -1,6 +1,6 @@
[phases.build] [phases.build]
cmds = ["npm install", "npx prisma generate", "npm run build"] cmds = ["npm install", "npx prisma generate", "npm run build"]
[phases.start] [start]
# Exécute prisma db push avant de lancer l'application pour synchroniser le schéma # Exécute prisma db push au runtime (démarrage du conteneur)
cmds = ["npx prisma db push --accept-data-loss", "npm start"] cmd = "npx prisma db push --accept-data-loss && npm start"

View File

@@ -24,6 +24,7 @@
"bcryptjs": "^3.0.3", "bcryptjs": "^3.0.3",
"lucide-react": "^0.554.0", "lucide-react": "^0.554.0",
"next": "^16.1.6", "next": "^16.1.6",
"dotenv": "^17.3.1",
"pg": "^8.19.0", "pg": "^8.19.0",
"prisma": "^7.7.0", "prisma": "^7.7.0",
"react": "^19.2.0", "react": "^19.2.0",
@@ -38,7 +39,6 @@
"@types/node": "^22.14.0", "@types/node": "^22.14.0",
"autoprefixer": "^10.4.27", "autoprefixer": "^10.4.27",
"concurrently": "^9.2.1", "concurrently": "^9.2.1",
"dotenv": "^17.3.1",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"tailwindcss": "^4.2.1", "tailwindcss": "^4.2.1",
"typescript": "~5.8.2" "typescript": "~5.8.2"