Skip to content

Instantly share code, notes, and snippets.

@hpwxf
Created March 29, 2019 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hpwxf/a193005e32572950777fa7884b87a3bf to your computer and use it in GitHub Desktop.
Save hpwxf/a193005e32572950777fa7884b87a3bf to your computer and use it in GitHub Desktop.
spaCy Dockerfile
FROM python:3-slim
MAINTAINER Pascal Havé <pascal@haveneer.com>
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