docker build 构建修改
This commit is contained in:
@@ -98,7 +98,7 @@ ADMIN_SVR_HTTP_PORT=9381
|
||||
|
||||
# The RAGFlow Docker image to download.
|
||||
# Defaults to the v0.21.1-slim edition, which is the RAGFlow Docker image without embedding models.
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1-slim
|
||||
RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1-fastapi
|
||||
#
|
||||
# To download the RAGFlow Docker image with embedding models, uncomment the following line instead:
|
||||
# RAGFLOW_IMAGE=infiniflow/ragflow:v0.21.1
|
||||
|
||||
2
docker/entrypoint.sh
Normal file → Executable file
2
docker/entrypoint.sh
Normal file → Executable file
@@ -188,7 +188,7 @@ if [[ "${ENABLE_WEBSERVER}" -eq 1 ]]; then
|
||||
|
||||
echo "Starting ragflow_server..."
|
||||
while true; do
|
||||
"$PY" api/ragflow_server.py
|
||||
"$PY" api/ragflow_server_fastapi.py
|
||||
done &
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user