Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -8,5 +8,7 @@ ENV OLLAMA_HOST=0.0.0.0:$SPACE_HOST
|
|
| 8 |
# Expose the port
|
| 9 |
EXPOSE $SPACE_HOST
|
| 10 |
|
|
|
|
|
|
|
| 11 |
# Run Ollama server and pull the model
|
| 12 |
-
CMD ["ollama serve
|
|
|
|
| 8 |
# Expose the port
|
| 9 |
EXPOSE $SPACE_HOST
|
| 10 |
|
| 11 |
+
RUN ollama pull steamdj/llama3.1-cpu-only
|
| 12 |
+
|
| 13 |
# Run Ollama server and pull the model
|
| 14 |
+
CMD ["ollama serve"]
|