From 88976c58ac3d5de20d358eabbf3f6b6c9277cdc6 Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Wed, 10 Sep 2025 17:40:06 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Correction=20Docker=20et=20d=C3=A9pendan?= =?UTF-8?q?ces=20pour=20d=C3=A9ploiement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- docker/host-api/Dockerfile | 2 -- docker/host-api/requirements.txt | 1 - infra/docker-compose.yml | 5 ++++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/host-api/Dockerfile b/docker/host-api/Dockerfile index 566e334..d6ae48e 100644 --- a/docker/host-api/Dockerfile +++ b/docker/host-api/Dockerfile @@ -7,6 +7,4 @@ WORKDIR /app COPY 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"] diff --git a/docker/host-api/requirements.txt b/docker/host-api/requirements.txt index a652fe7..d2e4eb6 100644 --- a/docker/host-api/requirements.txt +++ b/docker/host-api/requirements.txt @@ -19,7 +19,6 @@ pytesseract==0.3.13 numpy==2.0.1 pillow==10.4.0 pdfminer.six==20240706 -python-alto>=0.4.0 rapidfuzz==3.9.6 aiohttp==3.9.1 pdf2image==1.17.0 diff --git a/infra/docker-compose.yml b/infra/docker-compose.yml index 2371c26..045ecef 100644 --- a/infra/docker-compose.yml +++ b/infra/docker-compose.yml @@ -36,13 +36,15 @@ services: restart: unless-stopped anythingsqlite: - image: kevincharm/anythingllm:latest + image: mintplexlabs/anythingllm:latest environment: - DISABLE_AUTH=true depends_on: - ollama ports: - "3001:3001" + volumes: + - anythingllm:/app/server/storage container_name: anythingllm restart: unless-stopped @@ -156,3 +158,4 @@ volumes: opensearch: prometheus: grafana: + anythingllm: