mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-10 21:32:43 +08:00
71 lines
2.9 KiB
Plaintext
71 lines
2.9 KiB
Plaintext
# RAGFlow .dockerignore
|
|
# Reduces Docker build context sent to the daemon.
|
|
# All excluded items are either rebuilt inside Docker, mounted from
|
|
# infiniflow/ragflow_deps, or are local-only artifacts.
|
|
|
|
# ── Python virtual environments ─────────────────────────────────────────────
|
|
.venv/
|
|
venv/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.egg-info/
|
|
.pytest_cache/
|
|
|
|
# ── Frontend dependencies and build outputs ─────────────────────────────────
|
|
web/node_modules/
|
|
web/dist/
|
|
|
|
# ── Runtime logs ────────────────────────────────────────────────────────────
|
|
logs/
|
|
*.log
|
|
docker/ragflow-logs/
|
|
|
|
# ── Docker runtime data ─────────────────────────────────────────────────────
|
|
docker/data/
|
|
docker/oceanbase/
|
|
docker/seekdb/
|
|
|
|
# ── Go and C++ build outputs ────────────────────────────────────────────────
|
|
internal/binding/cpp/build/
|
|
internal/binding/cpp/cmake-build-release/
|
|
internal/binding/cpp/cmake-build-debug/
|
|
target/
|
|
|
|
# ── deps build context (built as a separate image, mounted ──
|
|
# ── from infiniflow/ragflow_deps:latest by the main Dockerfile) ──
|
|
# Excluding the directory contents keeps the main build context small
|
|
# regardless of which resources are prepared for the dependency image.
|
|
# The deps image is built from this directory with:
|
|
# cd deps && docker build -f Dockerfile -t infiniflow/ragflow_deps .
|
|
# The native downloader tools/scripts/download_dev_deps.py is copied by the
|
|
# main Dockerfile (not excluded here) so build.sh can read its ORT version pin
|
|
# when running `./build.sh --go`.
|
|
deps/*
|
|
|
|
# ── IDE and editor config ──────────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
.cursor/
|
|
.trae/
|
|
.DS_Store
|
|
|
|
# ── Test and coverage artifacts ─────────────────────────────────────────────
|
|
coverage/
|
|
htmlcov/
|
|
.coverage
|
|
.hypothesis/
|
|
.nox/
|
|
|
|
# ── Docker env (contains secrets) ───────────────────────────────────────────
|
|
docker/.env
|
|
|
|
# ── Local build artifacts / caches (never needed inside the container) ──
|
|
# Go build output (binaries are compiled fresh inside the go-builder stage).
|
|
/bin/
|
|
# Local Go module cache (go mod download runs inside the container via cache mount).
|
|
/gomod_cache/
|
|
# Local model backups / superseded exports in deepdoc_ee_models/.
|
|
deepdoc_ee_models/.bak*/
|
|
deepdoc_ee_models/.superseded*/
|