feat : create llama3 model image (#1083)

meta has released llama3 model, provide an option for users to download
the image
This commit is contained in:
Raja Kolli 2024-05-10 17:03:18 +05:30 committed by GitHub
parent 96bf0c215b
commit 1aa6632081
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

View File

@ -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"]

View File

@ -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 .

View File

@ -0,0 +1 @@
#!/bin/bash