Spaces:
Runtime error
Runtime error
AI-RESEARCHER-2024
commited on
Update Dockerfile
Browse files- 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 |
-
|
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"]
|