AI-RESEARCHER-2024 commited on
Commit
8667c9e
·
verified ·
1 Parent(s): 0ffeb39

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -17,9 +17,7 @@ RUN pip install -r requirements.txt
17
  RUN curl -fsSL https://ollama.com/install.sh | sh
18
 
19
  # Start Ollama server in the background and pull the required model
20
- RUN ollama serve & sleep 5
21
- RUN ollama pull llama3.2:latest
22
- RUN ollama pull llama3.2:latest
23
 
24
  # Set the command to run the Chainlit application
25
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
17
  RUN curl -fsSL https://ollama.com/install.sh | sh
18
 
19
  # Start Ollama server in the background and pull the required model
20
+ CMD ["python", "ollama_serve.py", "llama3.2"]
 
 
21
 
22
  # Set the command to run the Chainlit application
23
  CMD ["chainlit", "run", "app.py", "--port", "7860"]