fix: database should not overwrite

This commit is contained in:
eric
2026-02-23 17:32:19 +01:00
parent 724666ea36
commit 82259117dd
6 changed files with 43 additions and 3 deletions

View File

@@ -32,6 +32,10 @@ COPY --from=builder /app/tsconfig.json ./
# Set environment variables
ENV NODE_ENV=production
ENV LOG_LEVEL=info
ENV DATABASE_PATH=/data/db.sqlite3
# Persist runtime data (SQLite)
VOLUME ["/data"]
# Run the bot
CMD ["bun", "run", "src/index.ts"]