Spaces:
Sleeping
Sleeping
Commit
·
0c3809f
1
Parent(s):
ee0f4db
fix: Update directory structure for Ollama installation.
Browse files- Dockerfile +1 -1
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 mkdir -p /.ollama && chmod 755 /.ollama
|
8 |
RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
|
9 |
EXPOSE 8501
|
10 |
COPY streamlit_app.py generate_players.py resources/* ./
|
|
|
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 mkdir -p /root/.ollama/id_ed25519 && chmod 755 /root/.ollama/id_ed25519
|
8 |
RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
|
9 |
EXPOSE 8501
|
10 |
COPY streamlit_app.py generate_players.py resources/* ./
|