File size: 627 Bytes
05922fb
 
 
77a4c7a
34cc06e
 
 
 
2a8005f
e89f46b
77a4c7a
 
f85f2f8
 
 
159a00a
 
 
 
ee23fc5
05922fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.9
WORKDIR /app
ADD . /app
RUN chmod -R 777 /app

RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get install git-lfs
RUN git lfs install
RUN git clone https://huggingface.co/FacebookAI/xlm-roberta-large

RUN mkdir /nltk_data
RUN chmod -R 777 /nltk_data
RUN mkdir /.allennlp
RUN chmod -R 777 /.allennlp

# solves this issue https://github.com/marcotcr/checklist/issues/144
RUN pip install "notebook==6.0.1"
RUN pip install "checklist==0.0.11"

RUN pip install -r requirements_from_rug_demo_version.txt
CMD ["python", "-m", "sociolome.lome_webserver", "0.0.0.0"]