Spaces:
Running
Running
Bahodir Nematjonov
commited on
Commit
·
678475e
1
Parent(s):
abc7cea
model updated
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -37,5 +37,8 @@ COPY --chown=user . $HOME/app
|
|
37 |
# Ensure Ollama has a cache directory
|
38 |
RUN mkdir -p /tmp/ollama_cache
|
39 |
|
|
|
|
|
|
|
40 |
# Start Ollama before running FastAPI
|
41 |
CMD ollama serve > /tmp/ollama.log 2>&1 & sleep 5 && uvicorn main:app --host 0.0.0.0 --port 7860
|
|
|
37 |
# Ensure Ollama has a cache directory
|
38 |
RUN mkdir -p /tmp/ollama_cache
|
39 |
|
40 |
+
# Pull the correct LLaMA model
|
41 |
+
RUN ollama pull llama3.2
|
42 |
+
|
43 |
# Start Ollama before running FastAPI
|
44 |
CMD ollama serve > /tmp/ollama.log 2>&1 & sleep 5 && uvicorn main:app --host 0.0.0.0 --port 7860
|