patent_app_v1 / Dockerfile
saswatdas123's picture
Update Dockerfile
1cc4524 verified
raw
history blame contribute delete
488 Bytes
# 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"]