ragflow/docker/entrypoint.sh
KevinHuSh 04a9e95161
let file in knowledgebases visible in file manager (#714)
### What problem does this PR solve?

Let file in knowledgebases visible in file manager.
#162 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-05-11 16:04:28 +08:00

26 lines
330 B
Bash

#!/bin/bash
/usr/sbin/nginx
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
PY=/root/miniconda3/envs/py11/bin/python
function task_exe(){
while [ 1 -eq 1 ];do
$PY rag/svr/task_executor.py ;
done
}
WS=1
for ((i=0;i<WS;i++))
do
task_exe &
done
while [ 1 -eq 1 ];do
$PY api/ragflow_server.py
done
wait;