We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4741d commit de889b1Copy full SHA for de889b1
docker-entrypoint.sh
@@ -6,7 +6,10 @@ echo "Migrating database..."
6
npm run migrate:deploy
7
8
echo "Seeding database..."
9
-npm run migrate:seed
+if ! npm run migrate:seed; then
10
+ echo "Database seeding failed! Exiting container..."
11
+ exit 1
12
+fi
13
14
echo "Starting pm2..."
15
pm2-runtime start ecosystem.config.js --env production
0 commit comments