Spaces:
Running
Running
File size: 488 Bytes
f2302df 1cc4524 |
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 28 |
# pull python base image
FROM python:3.10
# specify working directory
#WORKDIR
ADD /requirements.txt .
ADD /*.* .
ADD /*.txt .
ADD /pages/* ./pages/
# update pip
RUN pip install --upgrade pip
# install dependencies
RUN pip install -r requirements.txt
#RUN rm *.whl
# copy application files
#ADD /heart_model/* ./app/
# expose port for application
EXPOSE 8001
# start fastapi application
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8001", "--server.address=0.0.0.0"]
|