sociolome / Dockerfile
Gosse Minnema
enable lfs
34cc06e
raw
history blame contribute delete
627 Bytes
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"]