feat: add admin dashboard and core API routes with Docker configuration
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
[phases.setup]
|
||||
# Ce hash force Nixpacks à utiliser la version contenant Node 22.13.1
|
||||
nixpkgsArchive = "51ad838b03a05b1de6f9f2a0fffecee64a9788ee"
|
||||
nixPkgs = ["nodejs_22", "openssl"]
|
||||
|
||||
[phases.install]
|
||||
@@ -10,4 +8,4 @@ cmds = ["npm ci"]
|
||||
cmds = ["npx prisma generate", "npm run build"]
|
||||
|
||||
[start]
|
||||
cmd = "npx prisma db push --accept-data-loss && (node ../scripts/ensure-admin.cjs || node scripts/ensure-admin.cjs || true) && npm start"
|
||||
cmd = "npx prisma migrate deploy && (node ../scripts/ensure-admin.cjs || node scripts/ensure-admin.cjs || true) && npm start"
|
||||
|
||||
Reference in New Issue
Block a user