Commit 0bc4c6b3 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] working version

parent e5980d01
Pipeline #5753 failed
......@@ -10,8 +10,21 @@ WORKDIR /tmp
COPY ./requirements.txt .
RUN pip install -r requirements.txt
RUN python -m spacy download en_core_web_trf
RUN python -m spacy download fr_core_news_md
# https://spacy.io/usage/models/
#RUN python -m spacy download en_core_web_trf
RUN python -m spacy download fr_dep_news_trf # 8001
#RUN python -m spacy download de_dep_news_trf # 8002
#RUN python -m spacy download uk_core_news_trf # 8003
#RUN python -m spacy download ru_core_news_trf # 8004
#RUN python -m spacy download pl_core_news_trf # 8004
#RUN python -m spacy download es_core_news_trf # 8005
#RUN python -m spacy download pt_core_news_trf # 8006
#RUN python -m spacy download it_core_news_trf # 8007
#RUN python -m spacy download zh_core_news_trf # 8008
#RUN python -m spacy download el_core_news_trf # 8009 (greek)
#RUN python -m spacy download xx_ent_wiki_trf # 8010
# nl_core_news_sm
WORKDIR /code
......
services:
spacy-server-de:
build: ./
ports:
- 8002:8002
spacy-server:
build: ./
ports:
- 8001:8001
# Specify fixed versions for spaCy and sense2vec because pretrained models are only compatible with certain versions;
# and tests use hardcoded outputs, so the program may randomly fail to build if a dynamic version is used.
spacy-transformers
setuptools
numpy==1.24.2
sense2vec==2.0.0
......@@ -10,4 +12,3 @@ uvicorn==0.15.0
pytest==6.2.5
requests==2.26.0
spacy==3.1.3
fr-core-news-md @ https://github.com/explosion/spacy-models/releases/download/fr_core_news_md-3.1.0/fr_core_news_md-3.1.0-py3-none-any.whl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment