Rework Dockerfile.scratch (#2525)

### What problem does this PR solve?

Rework Dockerfile.scratch
- Multiple stage Dockerfile
- Removed conda
- Replaced pip with poetry
- Added missing dependencies and fixed package version conflicts
- Added deepdoc models

### Type of change

- [x] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
This commit is contained in:
Zhichang Yu
2024-09-23 10:00:44 +08:00
committed by GitHub
parent 4a6a2a0f1b
commit d8a43416f5
13 changed files with 25329 additions and 28049 deletions

View File

@@ -33,10 +33,13 @@ REDIS_PASSWORD=infini_rag_flow
SVR_HTTP_PORT=9380
RAGFLOW_VERSION=dev
RAGFLOW_VERSION=poetry
TIMEZONE='Asia/Shanghai'
# Inside GFW, we need the following huggingface.co mirror:
HF_ENDPOINT=https://hf-mirror.com
######## OS setup for ES ###########
# sysctl vm.max_map_count
# sudo sysctl -w vm.max_map_count=262144