Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Deleted "ES" languages.
  • Loading branch information
Surt authored Oct 20, 2020
1 parent 0d6f56f commit c2e4d99
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,4 +30,4 @@ RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

EXPOSE 6400
EXPOSE 6400

0 comments on commit c2e4d99

Please sign in to comment.