danielRamon commited on
Commit
777f88a
·
1 Parent(s): 51cd619

feat ✨: Add Ollama authentication support.

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -3,6 +3,7 @@ COPY requirements.txt requirements.txt
3
  RUN pip install -r requirements.txt
4
  RUN apt update && apt -y upgrade && apt -y install curl
5
  RUN curl -fsSL https://ollama.com/install.sh | sh
 
6
  RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
7
  EXPOSE 8501
8
  COPY streamlit_app.py generate_players.py resources/* ./
 
3
  RUN pip install -r requirements.txt
4
  RUN apt update && apt -y upgrade && apt -y install curl
5
  RUN curl -fsSL https://ollama.com/install.sh | sh
6
+ RUN mkdir -p /root/.ollama/id_ed25519 && chmod 755 /root/.ollama/id_ed25519
7
  RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
8
  EXPOSE 8501
9
  COPY streamlit_app.py generate_players.py resources/* ./