Update Dockerfile.analyzer

This commit is contained in:
Nacim
2025-06-23 10:39:26 +02:00
committed by GitHub
parent ce4202c102
commit 14e540a8bc

View File

@@ -10,7 +10,7 @@ RUN pip install --no-cache-dir \
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.7.0/fr_core_news_sm-3.7.0-py3-none-any.whl
# Configuration pour supporter le français
RUN echo 'nlp_engine_name: spacy\nmodels:\n - lang_code: en\n model_name: en_core_web_lg\n - lang_code: fr\n model_name: fr_core_news_sm' > /usr/bin/presidio-analyzer/presidio_analyzer/conf/default.yaml
COPY default.yaml /usr/bin/presidio-analyzer/presidio_analyzer/conf/default.yaml
# Installer les dépendances supplémentaires
COPY requirements.txt /tmp/