Skip to content

Commit a63ef76

Browse files
committed
generate and push the database before boot
1 parent 989e6d2 commit a63ef76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/sh
22
set -e
33

4+
echo "Generating & Pushing DB schema..."
5+
bunx drizzle-kit generate
6+
bunx drizzle-kit push
7+
48
echo "Booting up Rosetta..!"
59
exec bun run src/index.ts

0 commit comments

Comments
 (0)