11
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -20,4 +20,7 @@ EXPOSE 7860 11434
|
|
| 20 |
|
| 21 |
|
| 22 |
# Run Ollama and FastAPI app
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
# Run Ollama and FastAPI app
|
| 23 |
+
...existing code...
|
| 24 |
+
|
| 25 |
+
# Run Ollama and FastAPI app
|
| 26 |
+
CMD ["ollama", "serve", "&", "sleep", "5", "&&", "ollama", "pull", "gemma:2b", "&&", "python3", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|