first commit

This commit is contained in:
闫旭隆
2025-09-25 10:33:37 +08:00
commit 34839c2654
387 changed files with 149159 additions and 0 deletions

15
AIEC-RAG/Dockerfile.cache Normal file
View File

@ -0,0 +1,15 @@
FROM aiec-rag:latest
# 安装Redis客户端和gunicorn
RUN pip install redis gunicorn
# 复制带缓存的服务文件
COPY rag_api_server_with_cache.py /app/
# 使用gunicorn启动支持多worker
CMD ["gunicorn", "rag_api_server_with_cache:app", \
"--workers", "10", \
"--worker-class", "uvicorn.workers.UvicornWorker", \
"--bind", "0.0.0.0:8081", \
"--timeout", "120", \
"--keep-alive", "5"]