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) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
03c5f73891
commit
016eddcce7
+1
-1
@@ -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"]
|
||||
Reference in New Issue
Block a user