Skip to content

Commit

Permalink
feat : create llama3 model image (langchain4j#1083)
Browse files Browse the repository at this point in the history
meta has released llama3 model, provide an option for users to download
the image
  • Loading branch information
rajadilipkolli authored May 10, 2024
1 parent 96bf0c2 commit 1aa6632
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/ollama/llama3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM --platform=$BUILDPLATFORM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull llama3"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]
3 changes: 3 additions & 0 deletions docker/ollama/llama3/hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
docker buildx create --use
docker buildx build --push --platform=linux/amd64,linux/arm64 -f $DOCKERFILE_PATH -t $IMAGE_NAME .
1 change: 1 addition & 0 deletions docker/ollama/llama3/hooks/push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/bin/bash

0 comments on commit 1aa6632

Please sign in to comment.