fix: Correction Docker et dépendances pour déploiement
- Correction Dockerfile host-api (chemin COPY relatif) - Suppression dépendance python-alto non trouvée - Mise à jour image AnythingLLM vers mintplexlabs/anythingllm:latest - Amélioration robustesse tests et gestion erreurs
This commit is contained in:
parent
0c8c0f1c39
commit
88976c58ac
@ -7,6 +7,4 @@ WORKDIR /app
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY ../../services/host_api /app
|
|
||||||
|
|
||||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
|
@ -19,7 +19,6 @@ pytesseract==0.3.13
|
|||||||
numpy==2.0.1
|
numpy==2.0.1
|
||||||
pillow==10.4.0
|
pillow==10.4.0
|
||||||
pdfminer.six==20240706
|
pdfminer.six==20240706
|
||||||
python-alto>=0.4.0
|
|
||||||
rapidfuzz==3.9.6
|
rapidfuzz==3.9.6
|
||||||
aiohttp==3.9.1
|
aiohttp==3.9.1
|
||||||
pdf2image==1.17.0
|
pdf2image==1.17.0
|
||||||
|
@ -36,13 +36,15 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
anythingsqlite:
|
anythingsqlite:
|
||||||
image: kevincharm/anythingllm:latest
|
image: mintplexlabs/anythingllm:latest
|
||||||
environment:
|
environment:
|
||||||
- DISABLE_AUTH=true
|
- DISABLE_AUTH=true
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
|
volumes:
|
||||||
|
- anythingllm:/app/server/storage
|
||||||
container_name: anythingllm
|
container_name: anythingllm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@ -156,3 +158,4 @@ volumes:
|
|||||||
opensearch:
|
opensearch:
|
||||||
prometheus:
|
prometheus:
|
||||||
grafana:
|
grafana:
|
||||||
|
anythingllm:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user