build(deploy): 更新 Docker 镜像版本为v0.4.0
- 将 Docker 镜像版本从 v0.3.0 升级到 v0.4.0 - 更新 management 服务依赖版本 - 优化 requirements.txt 中的依赖版本
This commit is contained in:
parent
9aefac9045
commit
8e2dfdd116
|
@ -1,13 +1,13 @@
|
|||
docker 镜像相关命令:
|
||||
前台镜像构建相关:
|
||||
docker build -t zstar1003/ragflowplus:v0.3.0 .
|
||||
docker tag zstar1003/ragflowplus:v0.3.0 zstar1003/ragflowplus:v0.3.0
|
||||
docker push zstar1003/ragflowplus:v0.3.0
|
||||
docker build -t zstar1003/ragflowplus:v0.4.0 .
|
||||
docker tag zstar1003/ragflowplus:v0.4.0 zstar1003/ragflowplus:v0.4.0
|
||||
docker push zstar1003/ragflowplus:v0.4.0
|
||||
|
||||
后台镜像构建相关:
|
||||
cd management
|
||||
docker-compose build
|
||||
docker tag zstar1003/ragflowplus-management-web:v0.3.0 zstar1003/ragflowplus-management-web:v0.3.0
|
||||
docker tag zstar1003/ragflowplus-management-server:v0.3.0 zstar1003/ragflowplus-management-server:v0.3.0
|
||||
docker push zstar1003/ragflowplus-management-web:v0.3.0
|
||||
docker push zstar1003/ragflowplus-management-server:v0.3.0
|
||||
docker tag zstar1003/ragflowplus-management-web:v0.4.0 zstar1003/ragflowplus-management-web:v0.4.0
|
||||
docker tag zstar1003/ragflowplus-management-server:v0.4.0 zstar1003/ragflowplus-management-server:v0.4.0
|
||||
docker push zstar1003/ragflowplus-management-web:v0.4.0
|
||||
docker push zstar1003/ragflowplus-management-server:v0.4.0
|
||||
|
|
|
@ -76,9 +76,9 @@ REDIS_PASSWORD=infini_rag_flow
|
|||
SVR_HTTP_PORT=9380
|
||||
|
||||
# RAGFLOW_IMAGE原始为infiniflow/ragflow:v0.18.0-slim
|
||||
RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.3.0
|
||||
RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE=zstar1003/ragflowplus-management-web:v0.3.0
|
||||
RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE=zstar1003/ragflowplus-management-server:v0.3.0
|
||||
RAGFLOW_IMAGE=zstar1003/ragflowplus:v0.4.0
|
||||
RAGFLOWPLUS_MANAGEMENT_WEB_IMAGE=zstar1003/ragflowplus-management-web:v0.4.0
|
||||
RAGFLOWPLUS_MANAGEMENT_SERVER_IMAGE=zstar1003/ragflowplus-management-server:v0.4.0
|
||||
|
||||
# The local time zone.
|
||||
TIMEZONE='Asia/Shanghai'
|
||||
|
|
|
@ -45,7 +45,7 @@ RUN mkdir -p /root/.cache/huggingface/hub/
|
|||
COPY models--opendatalab--PDF-Extract-Kit-1.0 /root/.cache/huggingface/hub/models--opendatalab--PDF-Extract-Kit-1.0
|
||||
COPY models--hantian--layoutreader /root/.cache/huggingface/hub/models--hantian--layoutreader
|
||||
COPY models--slanet_plus/slanet-plus.onnx /usr/local/lib/python3.10/site-packages/rapid_table/models/
|
||||
# COPY magic-pdf.json /root/magic-pdf.json
|
||||
COPY nltk_data /root/nltk_data
|
||||
|
||||
# 暴露后端端口
|
||||
EXPOSE 5000
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
services:
|
||||
management-frontend:
|
||||
container_name: ragflowplus-management-frontend
|
||||
image: zstar1003/ragflowplus-management-web:v0.3.0
|
||||
image: zstar1003/ragflowplus-management-web:v0.4.0
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
@ -17,7 +17,7 @@ services:
|
|||
|
||||
management-backend:
|
||||
container_name: ragflowplus-management-backend
|
||||
image: zstar1003/ragflowplus-management-server:v0.3.0
|
||||
image: zstar1003/ragflowplus-management-server:v0.4.0
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
|
|
@ -25,4 +25,7 @@ omegaconf==2.3.0
|
|||
rapid-table==1.0.3
|
||||
openai==1.70.0
|
||||
redis==6.2.0
|
||||
tokenizer==3.4.5
|
||||
tokenizer==3.4.5
|
||||
datrie==0.8.2
|
||||
hanziconv==0.3.2
|
||||
nltk==3.9.1
|
|
@ -1,21 +1,5 @@
|
|||
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
|
||||
<!-- 中心领导者 -->
|
||||
<path d="M512 256a128 128 0 1 1 0 256 128 128 0 0 1 0-256z" fill="#4D90FE"/>
|
||||
<path d="M416 512h192l48 320H368z" fill="#4D90FE"/>
|
||||
|
||||
<!-- 左侧成员 -->
|
||||
<path d="M256 384a96 96 0 1 1 0 192 96 96 0 0 1 0-192z" fill="#3B78E7"/>
|
||||
<path d="M192 576h128l32 256H160z" fill="#3B78E7"/>
|
||||
|
||||
<!-- 右侧成员 -->
|
||||
<path d="M768 384a96 96 0 1 1 0 192 96 96 0 0 1 0-192z" fill="#3B78E7"/>
|
||||
<path d="M704 576h128l32 256H672z" fill="#3B78E7"/>
|
||||
|
||||
<!-- 连接弧线 -->
|
||||
<path d="M320 448Q416 384 512 384T704 448"
|
||||
stroke="#4D90FE"
|
||||
stroke-width="16"
|
||||
fill="none"/>
|
||||
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M22 21V19C22 17.1362 20.7252 15.5701 19 15.126M15.5 3.29076C16.9659 3.88415 18 5.32131 18 7C18 8.67869 16.9659 10.1159 15.5 10.7092M17 21C17 19.1362 17 18.2044 16.6955 17.4693C16.2895 16.4892 15.5108 15.7105 14.5307 15.3045C13.7956 15 12.8638 15 11 15H8C6.13623 15 5.20435 15 4.46927 15.3045C3.48915 15.7105 2.71046 16.4892 2.30448 17.4693C2 18.2044 2 19.1362 2 21M13.5 7C13.5 9.20914 11.7091 11 9.5 11C7.29086 11 5.5 9.20914 5.5 7C5.5 4.79086 7.29086 3 9.5 3C11.7091 3 13.5 4.79086 13.5 7Z"
|
||||
stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 707 B |
|
@ -1,13 +1,8 @@
|
|||
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
|
||||
<!-- 完全居中的空心齿轮 -->
|
||||
<path d="
|
||||
M512 128
|
||||
l112 0 l56 168 l168 -56 l80 80 l-56 168 l168 56 l0 112 l-168 56 l56 168 l-80 80 l-168 -56 l-56 168 l-112 0 l-56 -168 l-168 56 l-80 -80 l56 -168 l-168 -56 l0 -112 l168 -56 l-56 -168 l80 -80 l168 56 l56 -168
|
||||
M512 320
|
||||
a192 192 0 1 0 0 384
|
||||
a192 192 0 1 0 0 -384
|
||||
Z"
|
||||
fill="#4D90FE"/>
|
||||
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
|
||||
stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
<path
|
||||
d="M18.7273 14.7273C18.6063 15.0015 18.5702 15.3056 18.6236 15.6005C18.6771 15.8954 18.8177 16.1676 19.0273 16.3818L19.0818 16.4364C19.2509 16.6052 19.385 16.8057 19.4765 17.0265C19.568 17.2472 19.6151 17.4838 19.6151 17.7227C19.6151 17.9617 19.568 18.1983 19.4765 18.419C19.385 18.6397 19.2509 18.8402 19.0818 19.0091C18.913 19.1781 18.7124 19.3122 18.4917 19.4037C18.271 19.4952 18.0344 19.5423 17.7955 19.5423C17.5565 19.5423 17.3199 19.4952 17.0992 19.4037C16.8785 19.3122 16.678 19.1781 16.5091 19.0091L16.4545 18.9545C16.2403 18.745 15.9682 18.6044 15.6733 18.5509C15.3784 18.4974 15.0742 18.5335 14.8 18.6545C14.5311 18.7698 14.3018 18.9611 14.1403 19.205C13.9788 19.4489 13.8921 19.7347 13.8909 20.0273V20.1818C13.8909 20.664 13.6994 21.1265 13.3584 21.4675C13.0174 21.8084 12.5549 22 12.0727 22C11.5905 22 11.1281 21.8084 10.7871 21.4675C10.4461 21.1265 10.2545 20.664 10.2545 20.1818V20.1C10.2475 19.7991 10.1501 19.5073 9.97501 19.2625C9.79991 19.0176 9.55521 18.8312 9.27273 18.7273C8.99853 18.6063 8.69437 18.5702 8.39947 18.6236C8.10456 18.6771 7.83244 18.8177 7.61818 19.0273L7.56364 19.0818C7.39478 19.2509 7.19425 19.385 6.97353 19.4765C6.7528 19.568 6.51621 19.6151 6.27727 19.6151C6.03834 19.6151 5.80174 19.568 5.58102 19.4765C5.36029 19.385 5.15977 19.2509 4.99091 19.0818C4.82186 18.913 4.68775 18.7124 4.59626 18.4917C4.50476 18.271 4.45766 18.0344 4.45766 17.7955C4.45766 17.5565 4.50476 17.3199 4.59626 17.0992C4.68775 16.8785 4.82186 16.678 4.99091 16.5091L5.04545 16.4545C5.25503 16.2403 5.39562 15.9682 5.4491 15.6733C5.50257 15.3784 5.46647 15.0742 5.34545 14.8C5.23022 14.5311 5.03887 14.3018 4.79497 14.1403C4.55107 13.9788 4.26526 13.8921 3.97273 13.8909H3.81818C3.33597 13.8909 2.87351 13.6994 2.53253 13.3584C2.19156 13.0174 2 12.5549 2 12.0727C2 11.5905 2.19156 11.1281 2.53253 10.7871C2.87351 10.4461 3.33597 10.2545 3.81818 10.2545H3.9C4.2009 10.2475 4.49273 10.1501 4.73754 9.97501C4.98236 9.79991 5.16883 9.55521 5.27273 9.27273C5.39374 8.99853 5.42984 8.69437 5.37637 8.39947C5.3229 8.10456 5.18231 7.83244 4.97273 7.61818L4.91818 7.56364C4.74913 7.39478 4.61503 7.19425 4.52353 6.97353C4.43203 6.7528 4.38493 6.51621 4.38493 6.27727C4.38493 6.03834 4.43203 5.80174 4.52353 5.58102C4.61503 5.36029 4.74913 5.15977 4.91818 4.99091C5.08704 4.82186 5.28757 4.68775 5.50829 4.59626C5.72901 4.50476 5.96561 4.45766 6.20455 4.45766C6.44348 4.45766 6.68008 4.50476 6.9008 4.59626C7.12152 4.68775 7.32205 4.82186 7.49091 4.99091L7.54545 5.04545C7.75971 5.25503 8.03183 5.39562 8.32674 5.4491C8.62164 5.50257 8.9258 5.46647 9.2 5.34545H9.27273C9.54161 5.23022 9.77093 5.03887 9.93245 4.79497C10.094 4.55107 10.1807 4.26526 10.1818 3.97273V3.81818C10.1818 3.33597 10.3734 2.87351 10.7144 2.53253C11.0553 2.19156 11.5178 2 12 2C12.4822 2 12.9447 2.19156 13.2856 2.53253C13.6266 2.87351 13.8182 3.33597 13.8182 3.81818V3.9C13.8193 4.19253 13.906 4.47834 14.0676 4.72224C14.2291 4.96614 14.4584 5.15749 14.7273 5.27273C15.0015 5.39374 15.3056 5.42984 15.6005 5.37637C15.8954 5.3229 16.1676 5.18231 16.3818 4.97273L16.4364 4.91818C16.6052 4.74913 16.8057 4.61503 17.0265 4.52353C17.2472 4.43203 17.4838 4.38493 17.7227 4.38493C17.9617 4.38493 18.1983 4.43203 18.419 4.52353C18.6397 4.61503 18.8402 4.74913 19.0091 4.91818C19.1781 5.08704 19.3122 5.28757 19.4037 5.50829C19.4952 5.72901 19.5423 5.96561 19.5423 6.20455C19.5423 6.44348 19.4952 6.68008 19.4037 6.9008C19.3122 7.12152 19.1781 7.32205 19.0091 7.49091L18.9545 7.54545C18.745 7.75971 18.6044 8.03183 18.5509 8.32674C18.4974 8.62164 18.5335 8.9258 18.6545 9.2V9.27273C18.7698 9.54161 18.9611 9.77093 19.205 9.93245C19.4489 10.094 19.7347 10.1807 20.0273 10.1818H20.1818C20.664 10.1818 21.1265 10.3734 21.4675 10.7144C21.8084 11.0553 22 11.5178 22 12C22 12.4822 21.8084 12.9447 21.4675 13.2856C21.1265 13.6266 20.664 13.8182 20.1818 13.8182H20.1C19.8075 13.8193 19.5217 13.906 19.2778 14.0676C19.0339 14.2291 18.8425 14.4584 18.7273 14.7273Z"
|
||||
stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 4.3 KiB |
|
@ -1,5 +1,5 @@
|
|||
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
<path d="M512 112c-247.4 0-448 200.6-448 448s200.6 448 448 448 448-200.6 448-448-200.6-448-448-448z m0 76c205.4 0 372 166.6 372 372s-166.6 372-372 372-372-166.6-372-372 166.6-372 372-372z" p-id="1001"></path>
|
||||
<path d="M512 384c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96z m0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" p-id="1002"></path>
|
||||
<path d="M704 672c-19.2-28.8-44.2-51.6-73.6-67.9-20.5 15.3-46.1 24.4-73.9 24.4-28.7 0-55.1-9.6-76.1-25.8-29.4 16.3-54.3 39.2-73.5 68.1-22.8 34.1-34.9 73.8-34.9 114.2 0 5.5 4.5 10 10 10h344c5.5 0 10-4.5 10-10 0-40.4-12.1-80-32-113z" p-id="1003"></path>
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4 19.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z"
|
||||
stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 588 B |
|
@ -23,11 +23,11 @@ discord-py==2.3.2
|
|||
duckduckgo-search>=7.2.0,<8.0.0
|
||||
editdistance==0.8.1
|
||||
elastic-transport==8.12.0
|
||||
elasticsearch==8.12.1
|
||||
elasticsearch==8.12.0
|
||||
elasticsearch-dsl==8.12.0
|
||||
filelock==3.15.4
|
||||
flask==3.0.3
|
||||
flask-cors==5.0.0
|
||||
Flask==3.1.0
|
||||
flask_cors==5.0.1
|
||||
flask-login==0.6.3
|
||||
flask-session==0.8.0
|
||||
google-search-results==2.4.2
|
||||
|
@ -49,7 +49,7 @@ numpy>=1.26.0,<2.0.0
|
|||
ollama==0.2.1
|
||||
onnxruntime==1.19.2; sys_platform == 'darwin' or platform_machine != 'x86_64'
|
||||
onnxruntime-gpu==1.19.2; sys_platform != 'darwin' and platform_machine == 'x86_64'
|
||||
openai==1.45.0
|
||||
openai==1.70.0
|
||||
opencv-python==4.10.0.84
|
||||
opencv-python-headless==4.10.0.84
|
||||
openpyxl>=3.1.0,<4.0.0
|
||||
|
@ -60,7 +60,7 @@ peewee==3.17.1
|
|||
pillow==10.4.0
|
||||
protobuf==5.27.2
|
||||
psycopg2-binary==2.9.9
|
||||
pyclipper==1.3.0.post5
|
||||
pyclipper==1.3.0.post6
|
||||
pycryptodomex==3.20.0
|
||||
pypdf>=5.0.0,<6.0.0
|
||||
pytest>=8.3.0,<9.0.0
|
||||
|
@ -81,7 +81,7 @@ scikit-learn==1.5.0
|
|||
selenium==4.22.0
|
||||
selenium-wire==5.1.0
|
||||
setuptools>=75.2.0,<76.0.0
|
||||
shapely==2.0.5
|
||||
shapely==2.1.0
|
||||
six==1.16.0
|
||||
strenum==0.4.15
|
||||
tabulate==0.9.0
|
||||
|
@ -94,7 +94,7 @@ vertexai==1.64.0
|
|||
volcengine==1.0.146
|
||||
voyageai==0.2.3
|
||||
webdriver-manager==4.0.1
|
||||
werkzeug==3.0.6
|
||||
Werkzeug==3.1.3
|
||||
wikipedia==1.4.0
|
||||
word2number==1.1
|
||||
xgboost==1.5.0
|
||||
|
|
|
@ -167,7 +167,7 @@ const Chat = () => {
|
|||
}, [addTemporaryConversation]);
|
||||
|
||||
const [fontSizeModalVisible, setFontSizeModalVisible] = useState(false);
|
||||
const [fontSize, setFontSize] = useState(18); // 默认字体大小
|
||||
const [fontSize, setFontSize] = useState(20); // 默认字体大小
|
||||
|
||||
// 从存储加载字体大小设置
|
||||
useEffect(() => {
|
||||
|
@ -429,7 +429,7 @@ const Chat = () => {
|
|||
<Flex vertical gap="middle" align="center">
|
||||
{'当前字体大小'}: {fontSize}px
|
||||
<Slider
|
||||
min={12}
|
||||
min={16}
|
||||
max={24}
|
||||
step={1}
|
||||
defaultValue={fontSize}
|
||||
|
|
Loading…
Reference in New Issue