-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from ropensci-review-tools/ollama
fix ollama & docker container for #49
- Loading branch information
Showing
6 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
branches: | ||
- main | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
- cron: "0 0 1 * *" # 1st day of each month | ||
|
||
jobs: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: pkgmatch | ||
Title: Find R Packages Matching Either Descriptions or Other R Packages | ||
Version: 0.4.0.074 | ||
Version: 0.4.0.077 | ||
Authors@R: c( | ||
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-2172-5265")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
FROM ollama/ollama:latest | ||
FROM ubuntu | ||
MAINTAINER Mark Padgham <[email protected]> | ||
|
||
RUN apt-get update && apt-get install -y curl | ||
|
||
RUN curl -fsSL https://ollama.com/install.sh | sh | ||
|
||
RUN nohup bash -c "ollama serve &" \ | ||
&& sleep 5 \ | ||
&& ollama pull jina/jina-embeddings-v2-base-en \ | ||
&& ollama pull ordis/jina-embeddings-v2-base-code | ||
|
||
EXPOSE 11434 | ||
|
||
CMD ["serve"] | ||
CMD ["ollama", "serve"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters