File size: 541 Bytes
b11ac48
 
 
8b8f5d5
69f0b84
b11ac48
 
 
448aabd
b11ac48
 
 
 
 
448aabd
4f77cfc
 
11fccf5
cbb65b9
4f77cfc
b11ac48
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.9
WORKDIR /app
ADD . /app
RUN rm -rfv /app/.git
RUN chmod -R 777 /app
RUN mkdir /nltk_data
RUN mkdir /.allennlp
RUN mkdir /.cache
RUN mkdir /.sf-data-cache
RUN mkdir /.local
RUN chmod -R 777 /nltk_data
RUN chmod -R 777 /.allennlp
RUN chmod -R 777 /.cache
RUN chmod -R 777 /.local
RUN chmod -R 777 /.sf-data-cache
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 pip install -v -r requirements.txt
CMD ["sh", "docker_commands.sh"]