changeset 12:014bc3f21382

fixed some typos; old checkout of brat
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Sun, 02 Dec 2018 14:18:15 +0000
parents cd2fa632df41
children 16066f0a7127
files Dockerfile demo/workspace/semantic_analysis.sh run_docker.sh
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Dockerfile	Sat Dec 01 16:10:25 2018 +0000
+++ b/Dockerfile	Sun Dec 02 14:18:15 2018 +0000
@@ -59,12 +59,14 @@
 RUN python3 -m spacy download en
 
 # Brat
-RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat'
+RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat && cd brat && git checkout 0c430b28abebf8df700eb4096c0f14a55cdc16a7'
 RUN su apps -c 'cd ~/brat && rm -rf data && mkdir data && mkdir data/workspace'
 
 
 # Radioplays dependencies
-RUN pip3 install filelock
+RUN apt-get install -y python python-pip
+RUN pip install filelock
+
 
 # Python3-tk
 RUN apt-get install -y python3-tk
--- a/demo/workspace/semantic_analysis.sh	Sat Dec 01 16:10:25 2018 +0000
+++ b/demo/workspace/semantic_analysis.sh	Sun Dec 02 14:18:15 2018 +0000
@@ -24,7 +24,7 @@
 
 cd ~/brat
 
-python3 standalone.py &
+python2 standalone.py &
 PID=$!
 
 echo "Please visit http://0.0.0.0:8001/index.xhtml#/workspace/story_processed"
--- a/run_docker.sh	Sat Dec 01 16:10:25 2018 +0000
+++ b/run_docker.sh	Sun Dec 02 14:18:15 2018 +0000
@@ -1,1 +1,1 @@
-docker run -p 5900:5900 --user apps -v /dev/snd:/dev/snd -ti -v $(pwd):/mnt --privileged radioplays
+docker run -p 5900:5900 --user apps -v /dev/snd:/dev/snd -ti -v $(pwd):/mnt --privileged radioplay-gen