fix(ambient-ui): fix standalone output path in Dockerfile#1620
Conversation
✅ Deploy Preview for cheerful-kitten-f556a0 canceled.
|
|
Warning Review limit reached
More reviews will be available in 2 minutes and 36 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 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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. Comment |
outputFileTracingRoot resolves ../.. to / in Docker (WORKDIR /app), so standalone nests files under app/ (.next/standalone/app/server.js). Use the correct hardcoded path instead of find. Verified locally: container starts, server.js found, Next.js returns 200. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d2e2279 to
5efd9e4
Compare
Summary
Cannot find module '/app/server.js'crash at container startupoutputFileTracingRootresolves../..to/in Docker (WORKDIR/app), so standalone output nests underapp/(.next/standalone/app/server.js), notcomponents/ambient-ui/cp -r .next/standalone/app/. /app-output/Verification
Tested locally with podman:
server.jspresent at/app/server.jsTest plan
MODULE_NOT_FOUND🤖 Generated with Claude Code