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 f14a68c commit 14e0ef5Copy full SHA for 14e0ef5
backend/user/entrypoint.sh
@@ -1,11 +1,14 @@
1
#!/bin/sh
2
-
3
-if [ ! -f .db-init ]; then
4
- echo "migrating..."
5
- npm run db:prod:migrate
6
- echo "seeding..."
7
- npm run db:prod:seed
8
- touch .db-init
+if [ ! -f db-init ]
+then
+echo "migrating..."
+npm run db:prod:migrate
+echo "migration complete"
+echo "seeding..."
+npm run db:prod:seed
9
+echo "seeding complete"
10
+touch .db-init
11
+echo "db-init created"
12
fi
13
14
npm run start
scripts/ensure-volume.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
check_or_create_docker_volume() {
local volume_name=$1
0 commit comments