danielRamon commited on
Commit
e0ac97c
·
1 Parent(s): dc22943

chore 📦: Update Dockerfile for Ollama installation

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -3,8 +3,8 @@ WORKDIR /app
3
  COPY requirements.txt requirements.txt
4
  RUN pip install -r requirements.txt
5
  RUN apt update && apt -y upgrade && apt -y install curl
6
- ENV OLLAMA_HOME=/app/.ollama
7
  RUN curl -fsSL https://ollama.com/install.sh | sh
 
8
  RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
9
  EXPOSE 8501
10
  COPY streamlit_app.py generate_players.py resources/* ./
 
3
  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
+ ENV OLLAMA_HOME=/app/.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/* ./