From 016eddcce743d5753bcadd9e0037043e5b65e459 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Fri, 26 Jun 2026 19:12:29 +0700 Subject: [PATCH] fix(dockerfile): prevent crash loop when migration fails Change && to ; so the bot still starts even if db:migrate exits with a non-zero code. Migration errors are logged but don't block the main process. Co-Authored-By: Claude Opus 4.8 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5c01505..99f275e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ COPY src/db ./src/db COPY drizzle.config.ts ./ RUN bun add -d drizzle-kit -CMD ["sh", "-c", "bun run db:migrate && bun run src/index.ts"] +CMD ["sh", "-c", "bun run db:migrate; bun run src/index.ts"] \ No newline at end of file