mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-10 19:18:57 +08:00
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):
This commit is contained in:
parent
0b460a9a12
commit
19931cd9ed
@ -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}" &
|
||||
}
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user