Fix seed db
This commit is contained in:
1 parent
c13a3f2a04
commit
200b9f8c9e
3 files changed
+11
-5
No files matched your search
+1
-1
@@ -21,4 +21,4 @@ chown -R node:node /tmp/next-cache
|
||||
# Drop privileges, apply any pending migrations, then exec the server.
|
||||
# Inner `exec` ensures SIGTERM from Cloudron reaches node for clean shutdown.
|
||||
exec gosu node:node sh -c \
|
||||
'prisma migrate deploy && prisma db seed && exec node server.js'
|
||||
'prisma migrate deploy && node prisma/seed.bundle.cjs && exec node server.js'
|
||||
Reference in new issue
Block a user