Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -15,6 +15,6 @@ COPY --chown=user . $HOME/app/
|
|
15 |
CMD ["uvicorn", "endpoints:app", "--host", "0.0.0.0", "--port", "7860"]
|
16 |
|
17 |
|
18 |
-
RUN
|
19 |
RUN docker exec -it ollama ollama pull llama2
|
20 |
RUN docker exec -it ollama ollama server
|
|
|
15 |
CMD ["uvicorn", "endpoints:app", "--host", "0.0.0.0", "--port", "7860"]
|
16 |
|
17 |
|
18 |
+
RUN ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
19 |
RUN docker exec -it ollama ollama pull llama2
|
20 |
RUN docker exec -it ollama ollama server
|