浏览代码

Fix: mcp server start (#7251)

### What problem does this PR solve?

Fix the entrypoint file from the docker container to solve #7249 

Here is the important part from the logs:
```
docker logs -f ragflow-server
...
usage: server.py [-h] [--base_url BASE_URL] [--host HOST] [--port PORT]
[--mode MODE] [--api_key API_KEY]
server.py: error: unrecognized arguments:
...
```

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
tags/v0.19.0
Pierre Lafievre 6 个月前
父节点
当前提交
19931cd9ed
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      docker/entrypoint.sh

+ 1
- 1
docker/entrypoint.sh 查看文件

@@ -150,7 +150,7 @@ function start_mcp_server() {
--port="${MCP_PORT}" \
--base_url="${MCP_BASE_URL}" \
--mode="${MCP_MODE}" \
--api_key="${MCP_HOST_API_KEY}" \ &
--api_key="${MCP_HOST_API_KEY}" &
}

# -----------------------------------------------------------------------------

正在加载...
取消
保存