Sfoglia il codice sorgente

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 mesi fa
parent
commit
19931cd9ed
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      docker/entrypoint.sh

+ 1
- 1
docker/entrypoint.sh Vedi File

--port="${MCP_PORT}" \ --port="${MCP_PORT}" \
--base_url="${MCP_BASE_URL}" \ --base_url="${MCP_BASE_URL}" \
--mode="${MCP_MODE}" \ --mode="${MCP_MODE}" \
--api_key="${MCP_HOST_API_KEY}" \ &
--api_key="${MCP_HOST_API_KEY}" &
} }


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

Loading…
Annulla
Salva