File size: 483 Bytes
7009660
 
 
 
 
 
 
 
 
 
 
b227d81
 
0f36dfe
7009660
0f36dfe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM tensorflow/tensorflow:latest-gpu
WORKDIR /app
# RUN apt-get upgrade -y
RUN apt-get update -y
RUN apt-get install -y git
RUN apt install -y make wget git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync
COPY ./app .
RUN pip install -r requirements.txt
RUN ls -la
#RUN python load_docs.py
RUN python run.py
RUN mkdir /.cache
RUN chmod 777 /.cache
CMD ["streamlit", "run", "app.py", "--server.port=7860"]
#CMD ls -la
EXPOSE 7860