# HG changeset patch # User Emmanouil Theofanis Chourdakis # Date 1544266960 0 # Node ID 16066f0a7127143ca1a05eccf5f1610675f49ab2 # Parent 014bc3f213829655a8de94a7a943521b2a04f161 fixed the problem with brat diff -r 014bc3f21382 -r 16066f0a7127 Dockerfile --- a/Dockerfile Sun Dec 02 14:18:15 2018 +0000 +++ b/Dockerfile Sat Dec 08 11:02:40 2018 +0000 @@ -15,7 +15,7 @@ # Install fluxbox RUN apt-get install -y fluxbox -# Install wget +# Install wget RUN apt-get install -y wget # Install wmctrl @@ -54,19 +54,16 @@ # Pip stuff - RUN pip3 install numpy scipy matplotlib pypeg2 spacy sklearn sklearn_crfsuite librosa pandas sox nltk xlwt xlrd selenium soundfile chromedriver RUN python3 -m spacy download en # Brat -RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat && cd brat && git checkout 0c430b28abebf8df700eb4096c0f14a55cdc16a7' +RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat' RUN su apps -c 'cd ~/brat && rm -rf data && mkdir data && mkdir data/workspace' -# Radioplays dependencies -RUN apt-get install -y python python-pip -RUN pip install filelock - +# Brat dependencies +RUN pip3 install filelock # Python3-tk RUN apt-get install -y python3-tk @@ -100,5 +97,3 @@ # CMD '/bootstrap.sh' # On recent linux kernels, you need to run: `echo N | sudo tee /sys/module/overlay/parameters/metacopy` before each build - - diff -r 014bc3f21382 -r 16066f0a7127 demo/workspace/semantic_analysis.sh --- a/demo/workspace/semantic_analysis.sh Sun Dec 02 14:18:15 2018 +0000 +++ b/demo/workspace/semantic_analysis.sh Sat Dec 08 11:02:40 2018 +0000 @@ -24,7 +24,7 @@ cd ~/brat -python2 standalone.py & +python3 standalone.py & PID=$! echo "Please visit http://0.0.0.0:8001/index.xhtml#/workspace/story_processed"