Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: bin directory cannot be copied to docker image introduced by #13444 (#13502)

Liu An68a623154a8c
diff --git a/.gitignore b/.gitignore
index 58fbda13bb..906c13dbfa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -229,4 +229,5 @@ internal/cpp/cmake-build-debug/
.trae/
# Go server build output
-bin/
+bin/*
+!bin/.gitkeep
diff --git a/Dockerfile b/Dockerfile
index 071efdfc33..ee19086b3a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -212,13 +212,7 @@ COPY pyproject.toml uv.lock ./
COPY mcp mcp
COPY common common
COPY memory memory
-
-RUN if [ -d bin ]; then \
- cp -r bin ./; \
- echo "✓ bin copied"; \
- else \
- echo "✗ bin ignored"; \
- fi
+COPY bin bin
COPY docker/service_conf.yaml.template ./conf/service_conf.yaml.template
COPY docker/entrypoint.sh ./
diff --git a/bin/.gitkeep b/bin/.gitkeep
new file mode 100644
index 0000000000..e69de29bb2