Skip to content

fix: pass dummy DATABASE_URL for prisma generate in Docker build - #5

Merged
jyotishankar04 merged 1 commit into
mainfrom
fix/bug-fixes
May 31, 2026
Merged

jyotishankar04 merged 1 commit into
mainfrom
fix/bug-fixes

Conversation

@jyotishankar04

Copy link
Copy Markdown
Owner

prisma.config.ts validates DATABASE_URL at load time even during generate, which doesn't make an actual DB connection. Provide a placeholder so the build succeeds; the real var is injected at runtime.

prisma.config.ts validates DATABASE_URL at load time even during generate,
which doesn't make an actual DB connection. Provide a placeholder so the
build succeeds; the real var is injected at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
byoc Building Building Preview, Comment May 31, 2026 12:53pm

@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jyotishankar04, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 56 minutes and 56 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: df28c393-0421-44e5-aba5-0460e6952b91

📥 Commits

Reviewing files that changed from the base of the PR and between 0c3c4d4 and 4014ea4.

📒 Files selected for processing (1)
  • server/docker/Dockerfile
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/bug-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jyotishankar04
jyotishankar04 merged commit 12f24b3 into main May 31, 2026
4 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4014ea46 Deployed May 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant