Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +11 -1
Dockerfile
CHANGED
@@ -23,8 +23,18 @@ RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
|
23 |
RUN pip install git+https://github.com/huggingface/transformers.git
|
24 |
RUN pip install pydantic[email]
|
25 |
|
26 |
-
# Install spaCy
|
27 |
RUN python -m spacy download en_core_web_lg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
# Make all files and folders readable, writable, executable
|
30 |
# RUN chmod -R 777 ./
|
|
|
23 |
RUN pip install git+https://github.com/huggingface/transformers.git
|
24 |
RUN pip install pydantic[email]
|
25 |
|
26 |
+
# Install spaCy language models
|
27 |
RUN python -m spacy download en_core_web_lg
|
28 |
+
RUN python -m spacy download es_core_news_sm
|
29 |
+
RUN python -m spacy download fr_core_news_sm
|
30 |
+
RUN python -m spacy download pl_core_news_sm
|
31 |
+
RUN python -m spacy download de_core_news_sm
|
32 |
+
RUN python -m spacy download it_core_news_sm
|
33 |
+
RUN python -m spacy download pt_core_news_sm
|
34 |
+
RUN python -m spacy download nl_core_news_sm
|
35 |
+
RUN python -m spacy download fi_core_news_sm
|
36 |
+
RUN python -m spacy download ro_core_news_sm
|
37 |
+
RUN python -m spacy download ru_core_news_sm
|
38 |
|
39 |
# Make all files and folders readable, writable, executable
|
40 |
# RUN chmod -R 777 ./
|