cache docker builds

This commit is contained in:
Jeffrey Morgan
2023-11-18 08:51:24 -05:00
parent 42e43736a4
commit 85e4441c6a
4 changed files with 5 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ docker buildx build \
--platform=linux/arm64,linux/amd64 \
--build-arg=VERSION \
--build-arg=GOFLAGS \
--cache-from type=local,src=.cache \
-f Dockerfile \
-t ollama/ollama -t ollama/ollama:$VERSION \
.