Pre-built ollama models (#419)

This commit is contained in:
LangChain4j 2023-12-23 18:48:24 +01:00 committed by GitHub
parent 95dee85bbb
commit 2d85024923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,4 @@
FROM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull codellama"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]

View File

@ -0,0 +1,4 @@
FROM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull llama2"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]

View File

@ -0,0 +1,4 @@
FROM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull mistral"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]

View File

@ -0,0 +1,4 @@
FROM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull orca-mini"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]

View File

@ -0,0 +1,4 @@
FROM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull phi"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]