Skip to content

docs(deepdoc): point the build examples at the Dockerfile's real path - #18820

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
MarMarLabs:docs/deepdoc-dockerfile-build-path
Aug 28, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
MarMarLabs:docs/deepdoc-dockerfile-build-path

Conversation

@MarMarLabs

Copy link
Copy Markdown
Contributor

Summary

Dockerfile_deepdoc_oss documents its own build command with a docker/ prefix:

# Build: docker build -f docker/Dockerfile_deepdoc_oss -t deepdoc_oss:latest .
# With mirror (China): docker build --build-arg NEED_MIRROR=1 -f docker/Dockerfile_deepdoc_oss ...

The file is at the repository root. There is no docker/Dockerfile_deepdoc_oss, so both commands
fail on the -f path before any build starts.

The two other references in the tree already use the root path, which is what makes this the odd
one out rather than a naming question:

deepdoc/server/README.md:11    docker build -f Dockerfile_deepdoc_oss -t deepdoc_oss:latest .
docker/docker-compose.yml:10   context: ..
                               dockerfile: Dockerfile_deepdoc_oss

Verification

By path rather than by running docker; no daemon was available here.
docker/Dockerfile_deepdoc_oss does not exist in the tree, and Dockerfile_deepdoc_oss does.

Dockerfile_deepdoc_oss:2-3 tell the reader to build with

    docker build -f docker/Dockerfile_deepdoc_oss -t deepdoc_oss:latest .

but the file is at the repository root. There is no docker/Dockerfile_deepdoc_oss,
so both commands fail on the -f path before any build starts.

The two other references in the tree already use the root path:

    deepdoc/server/README.md:11   docker build -f Dockerfile_deepdoc_oss -t deepdoc_oss:latest .
    docker/docker-compose.yml:10  context: ..
                                  dockerfile: Dockerfile_deepdoc_oss

so the file's own header is the odd one out.

Verified by path, not by running docker: no daemon was available here, but
docker/Dockerfile_deepdoc_oss does not exist in the tree.
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 📖 documentation Improvements or additions to documentation labels Aug 26, 2026
@coderabbitai

coderabbitai Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6099d135-7553-4b57-8a97-5f515fb0e732

📥 Commits

Reviewing files that changed from the base of the PR and between 68b893c and 6fbf648.

📒 Files selected for processing (1)
  • Dockerfile_deepdoc_oss

Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

The documented Docker build commands now use the root-level Dockerfile_deepdoc_oss path. Image build and runtime settings remain unchanged.

Changes

Docker build configuration

Layer / File(s) Summary
Update documented Docker build commands
Dockerfile_deepdoc_oss
Both build commands now reference the root-level Dockerfile instead of docker/Dockerfile_deepdoc_oss.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 6fbf6

This change corrects the documented Docker build examples to use the Dockerfile's actual root path, preventing those commands from failing before the build starts. No actionable merge-blocking risk remains after normal checks and review.

Poem

A rabbit checks the Docker trail
The root-level path now sets the sail
Two commands point the proper way
The image steps unchanged stay
Fluffy paws approve the update

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description includes the required Summary section. It clearly explains the incorrect Dockerfile path, the corrected root path, affected commands, and verification limits.
Title check ✅ Passed The title clearly and concisely describes the main change: updating DeepDoc build examples to use the Dockerfile's actual path.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)


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.

@JinHai-CN
JinHai-CN requested a review from myf-bee August 26, 2026 12:51

@myf-bee myf-bee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JinHai-CN
JinHai-CN merged commit b9d7e9e into infiniflow:main Aug 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖 documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants