mrmft's picture
Update Dockerfile
0589186
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"]