danielRamon commited on
Commit
c5d33ad
·
1 Parent(s): 4dffd34

feat ✨: Add delay before running Streamlit app.

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,7 +4,7 @@ COPY requirements.txt requirements.txt
4
  RUN pip install -r requirements.txt
5
  RUN apt update && apt -y upgrade && apt -y install curl
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
- RUN ollama start & sleep 5 & ollama pull gemma2
8
  EXPOSE 8501
9
  COPY streamlit_app.py generate_players.py resources/* ./
10
- ENTRYPOINT ollama start & streamlit run streamlit_app.py
 
4
  RUN pip install -r requirements.txt
5
  RUN apt update && apt -y upgrade && apt -y install curl
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
+ RUN ollama start & sleep 10 & ollama pull gemma2
8
  EXPOSE 8501
9
  COPY streamlit_app.py generate_players.py resources/* ./
10
+ ENTRYPOINT ollama start & sleep 10 & streamlit run streamlit_app.py