FROM python:3.10
WORKDIR /app
COPY requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt

COPY download_models.py /tmp/
RUN python /tmp/download_models.py

EXPOSE 8501
COPY . /app
ENTRYPOINT ["streamlit", "run", "Data_Loading.py", "--browser.gatherUsageStats=false"]