Skip to content

Commit 7336191

Browse files
committed
feat: Minimize the testing Docker image with Ollama to CPU-only
1 parent 1ce33c2 commit 7336191

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.ollama

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM prantlf/healthchk as healthchk
22

3-
FROM ollama/ollama
3+
FROM alpine/ollama
44
LABEL maintainer="Ferdinand Prantl <prantlf@gmail.com>"
55

66
COPY --from=healthchk /healthchk /

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ For example, run a container named `ovai` in the background with custom defaults
127127
-v ${PWD}/model-defaults.json:/usr/src/app/model-defaults.json \
128128
prantlf/ovai
129129

130-
And the same task as above, only using Docker Compose (place [docker-compose.yml] or [docker-compose-ollama.yml], if you want to use ollama too, to the current directory) to make it easier:
130+
And the same task as above, only using Docker Compose (place [docker-compose.yml] or [docker-compose-ollama.yml], if you want to use ollama too, to the current directory) to make it easier. Just a note - [docker-compose-ollama.yml] builds a local image using CPU-only Ollama. If you want to use GPU, customize `Dockerfile.ollama`:
131131

132132
docker-compose up -d --wait
133133
docker-compose -f docker-compose-ollama.yml up -d --wait

0 commit comments

Comments
 (0)