fix: database should not overwrite
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user