Spaces:
Sleeping
Sleeping
Commit
·
0b9c2ff
1
Parent(s):
c5d33ad
chore 📦: Improved Dockerfile for streamlined setup.
Browse files- 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 10
|
| 8 |
EXPOSE 8501
|
| 9 |
COPY streamlit_app.py generate_players.py resources/* ./
|
| 10 |
-
ENTRYPOINT ollama start & sleep 10
|
|
|
|
| 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
|