multi-arch-build (#2571)

### What problem does this PR solve?

Build multi-arch docker image `infiniflow/ragflow:poetry` on
`linux/amd64` and `linux/arm64`.

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-09-25 10:37:20 +08:00
committed by GitHub
parent 08d5637770
commit e3b3ec3f79
6 changed files with 228 additions and 516 deletions

View File

@ -10,13 +10,13 @@ package-mode = false
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
datrie = "0.8.2"
akshare = "1.14.72"
akshare = "^1.14.81"
azure-storage-blob = "12.22.0"
azure-identity = "1.17.1"
azure-storage-file-datalake = "12.16.0"
anthropic = "=0.34.1"
arxiv = "2.1.3"
aspose-slides = "24.8.0"
aspose-slides = { version = "^24.9.0", markers = "platform_machine == 'x86_64'" }
bcembedding = "0.1.3"
bio = "1.7.1"
boto3 = "1.34.140"
@ -58,7 +58,7 @@ nltk = "3.9.1"
numpy = "1.26.4"
ollama = "0.2.1"
onnxruntime = "1.17.3"
onnxruntime-gpu = "1.17.1"
onnxruntime-gpu = { version = "^1.17.1", markers = "platform_machine == 'x86_64'" }
openai = "1.12.0"
opencv-python = "4.9.0.80"
opencv-python-headless = "4.9.0.80"
@ -117,7 +117,7 @@ python-docx = "^1.1.2"
pypdf2 = "^3.0.1"
graspologic = "^3.4.1"
pymysql = "^1.1.1"
mini-racer = "^0.12.4"
[[tool.poetry.source]]
name = "tsinghua"