init
This commit is contained in:
commit
440f572834
53 files changed
+12776
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# 启动前确保数据库表已就绪(SQLite/Postgres 均适用)。
|
||||
# 幂等:已存在则无操作。
|
||||
echo "[entrypoint] syncing database schema..."
|
||||
npx prisma db push --skip-generate
|
||||
|
||||
echo "[entrypoint] starting daily-bot-nest..."
|
||||
exec node dist/main.js
|
||||
Reference in new issue
Block a user