fix: wrong Dockerfile path in docs docker-compose.yaml#3154
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe ChangesDocker Compose Configuration
🎯 1 (Trivial) | ⏱️ ~2 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
bc9e981 to
17ed53f
Compare
Summary
The
docker-compose.yamlin thedocs/directory referencesdockerfiles/Dockerfileas the build target, but nodockerfiles/directory exists in the repo. The actual Dockerfile lives atdocs/Dockerfile, which isdocs/Dockerfilerelative to the build context (.., the repo root). Runningdocker compose upfrom thedocs/directory fails immediately because Docker can't find the referenced file.How to reproduce
cd docsdocker compose upfailed to solve: failed to read dockerfile: open dockerfiles/Dockerfile: no such file or directoryTest plan
docker compose upfrom thedocs/directory after the fix and confirm Docker finds and builds the Dockerfile successfully.Summary by CodeRabbit