Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/arne-cl/pypolibox
Browse files Browse the repository at this point in the history
  • Loading branch information
arne-cl committed Dec 24, 2017
2 parents 7c584e1 + 4f47d2d commit ffa677a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM nlpbox/nlpbox-base:16.04
MAINTAINER Arne Neumann <nlpbox.programming@arne.cl>

RUN apt-get update -y && apt-get upgrade -y && \
apt-get install -y python-pip openjdk-8-jre python-lxml libyaml-dev

WORKDIR /opt

# install OpenCCG for surface realization, then install pypolibox
RUN wget https://downloads.sourceforge.net/project/openccg/openccg/openccg%20v0.9.5%20-%20deplen%2C%20kenlm%2C%20disjunctivizer/openccg-0.9.5.tgz && \
tar -xvzf openccg-0.9.5.tgz && \
git clone https://github.com/arne-cl/pypolibox.git

WORKDIR /opt/pypolibox
RUN python setup.py install

ENV PATH=/opt/openccg/bin:$PATH OPENCCG_HOME=/opt/openccg JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

ENTRYPOINT ["pypolibox"]

0 comments on commit ffa677a

Please sign in to comment.