Skip to content

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

rename entrypoint-go.sh to entrypoint.sh (#20448)

maoyifengeb100d12705d
diff --git a/Dockerfile b/Dockerfile
index 162d16363f..c3e7633f25 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -266,4 +266,4 @@ COPY --from=web-builder /ragflow/VERSION /ragflow/VERSION
# Set environment variables
ENV HF_ENDPOINT=https://hf-mirror.com
-ENTRYPOINT ["./entrypoint-go.sh"]
+ENTRYPOINT ["./entrypoint.sh"]
diff --git a/cmd/ragflow_server.go b/cmd/ragflow_server.go
index c4d36d5fe4..2b66a6d5d8 100644
--- a/cmd/ragflow_server.go
+++ b/cmd/ragflow_server.go
@@ -607,7 +607,7 @@ func main() {
// Initialize database. The migrate mode stops here: it needs neither the
// downgrade check nor any of the engines started below, so it can run
- // before any server mode boots (see docker/entrypoint-go.sh and
+ // before any server mode boots (see docker/entrypoint.sh and
// docker/launch_backend_service.sh).
migrate := *arguments.mode == "migrate"
if migrate {
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 849aad845a..1a278e40dd 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -36,7 +36,7 @@ services:
# - ./nginx/proxy.conf:/etc/nginx/proxy.conf
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./service_conf.yaml.template:/ragflow/conf/service_conf.yaml.template
- - ./entrypoint-go.sh:/ragflow/entrypoint.sh
+ - ./entrypoint.sh:/ragflow/entrypoint.sh
# - ${RAGFLOW_SSH_KNOWN_HOSTS:-${HOME}/.ssh/known_hosts}:${SSH_KNOWN_HOSTS:-/etc/ragflow/ssh_known_hosts}:ro
env_file: .env
# Route the Go services' cache/queue backend to the separate Kvrocks service.
diff --git a/docker/entrypoint-go.sh b/docker/entrypoint.sh
similarity index 100%
rename from docker/entrypoint-go.sh
rename to docker/entrypoint.sh