Created
January 21, 2017 16:50
-
-
Save charlieegan3/910276eef0f8658b44b42af268599931 to your computer and use it in GitHub Desktop.
Dockerfile to run the coreNLP server.
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 java:8 | |
RUN curl http://nlp.stanford.edu/software/stanford-corenlp-full-2015-12-09.zip > corenlp.zip | |
RUN unzip corenlp.zip -d /corenlp | |
RUN mv /corenlp/*/* /corenlp | |
WORKDIR /corenlp | |
RUN export CLASSPATH="`find . -name '*.jar'`" | |
EXPOSE 9000 | |
CMD java -cp "*" -mx4g edu.stanford.nlp.pipeline.StanfordCoreNLPServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment