From c2e4d994f81b4174d48b8647d384dc27a9fcd76d Mon Sep 17 00:00:00 2001 From: Erik Wiesenthal Date: Tue, 20 Oct 2020 10:23:10 +0200 Subject: [PATCH] Update Dockerfile Deleted "ES" languages. --- docker/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c9275c8..44ff123 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,11 +18,9 @@ RUN apt-get -y install pkg-config && \ python3 -m pip install -r requirements.txt # Download language models -RUN polyglot download LANG:en && \ - polyglot download LANG:es +RUN polyglot download LANG:en RUN python3 -m spacy download en && \ - python3 -m spacy download es && \ python3 -m spacy download xx # Set supervisor config @@ -32,4 +30,4 @@ RUN chmod +x /usr/local/bin/entrypoint.sh ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] -EXPOSE 6400 \ No newline at end of file +EXPOSE 6400