FROM python:3.9 RUN pip install -U pip WORKDIR /app RUN pip freeze > requirements.txt COPY requirements.txt /requirements.txt RUN pip install -r /requirements.txt EXPOSE 8501 COPY . /app ENTRYPOINT ["python","-m","streamlit", "run", "app.py"]