Skip to content

Commit

Permalink
load model, fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
smerschjohann authored Feb 14, 2025
1 parent 3636ef5 commit 0202050
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-amd64-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build, Merge, and Push
name: Build AMD64 images

permissions:
packages: write
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
continue
fi
docker buildx build
docker buildx build \
-f $dir/Dockerfile \
-t $image_name:$TAG \
--target $target \
Expand Down
6 changes: 4 additions & 2 deletions images/ollama/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ENV OLLAMA_HOST=0.0.0.0

EXPOSE 11434

# load model and store in image
RUN ollama serve & \
serve_pid=$!; sleep 15; \
ollama pull aratan/DeepSeek-R1-32B-Uncensored:latest; \
kill $serve_pid
ollama pull aratan/DeepSeek-R1-32B-Uncensored:latest; sleep 5; \
kill $serve_pid; sleep 10; \
echo "download completed"

0 comments on commit 0202050

Please sign in to comment.