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:
parent
96bf0c215b
commit
1aa6632081
|
@ -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"]
|
|
@ -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 .
|
|
@ -0,0 +1 @@
|
|||
#!/bin/bash
|
Loading…
Reference in New Issue