Created
March 29, 2019 15:02
-
-
Save hpwxf/a193005e32572950777fa7884b87a3bf to your computer and use it in GitHub Desktop.
spaCy Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3-slim | |
MAINTAINER Pascal Havé <[email protected]> | |
VOLUME /data | |
EXPOSE 5000 | |
RUN pip install -U spacy \ | |
&& python -m spacy download en \ | |
&& python -m spacy download fr \ | |
&& python -m spacy download en_core_web_sm \ | |
&& python -m spacy download en_core_web_md \ | |
&& python -m spacy download en_core_web_lg | |
WORKDIR /data | |
ENTRYPOINT [ "sh", "-c" ] | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment