enemy7 commited on
Commit
6ab1686
·
verified ·
1 Parent(s): f9e7684

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -2
Dockerfile CHANGED
@@ -5,8 +5,15 @@ FROM python:3.9
5
 
6
  WORKDIR /
7
 
 
8
 
9
- RUN pip install rich
 
 
 
 
 
10
 
 
11
 
12
- CMD ["python3", "-m", "http.server", "7860", "-b" , "0.0.0.0"]
 
5
 
6
  WORKDIR /
7
 
8
+ RUN curl -fsSL https://ollama.com/install.sh | sh
9
 
10
+ RUN ollama pull mistral
11
+ RUN ollama pull llama2
12
+ RUN ollama pull llava
13
+ RUN ollama pull all-minilm
14
+ RUN ollama pull nomic-embed-text
15
+ RUN ollama pull mxbai-embed-large
16
 
17
+ RUN OLLAMA_HOST=0.0.0.0:2563
18
 
19
+ CMD ["ollama", "serve" ]