File size: 738 Bytes
4da642e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM python:3.9

RUN mkdir /app
WORKDIR /app


# download model and put in trained_model folder
# RUN wget https://drive.ahdsoft.dev/s/xp5Mb7bQ34Z7BRX/download/trained_model_10000.pt
# RUN mkdir trained_model
# RUN mv trained_model_10000.pt trained_model/

# download packages
COPY requirements.txt .

ENV HTTP_PROXY http://172.17.0.1:10805
ENV HTTPS_PROXY http://172.17.0.1:10805
ENV http_proxy http://172.17.0.1:10805
ENV https_proxy http://172.17.0.1:10805

RUN pip install git+https://github.com/mohammadkarrabi/NERDA.git
RUN pip install -r requirements.txt
RUN pip install sentence_transformers

COPY . .

ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7201", "--server.address=0.0.0.0", "--client.showErrorDetails=false"]