Skip to content

Commit

Permalink
Fix modefile location
Browse files Browse the repository at this point in the history
  • Loading branch information
Veraticus committed Apr 5, 2024
1 parent 3351a9c commit 1688e3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ollama/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Get up and running with large language models locally.

type: application

version: 0.22.2
version: 0.22.3

appVersion: "0.1.30"

Expand Down
2 changes: 1 addition & 1 deletion charts/ollama/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ spec:
{{- $filename := splitList "/" $m.url | last }}
wget --no-verbose --show-progress --progress=dot:mega -O /models/{{ $filename }} {{ $m.url }};
echo "FROM /models/{{ $filename }}" > /models/Modelfile-{{ $filename }};
/bin/ollama create {{ $m.name }} -f Modelfile-{{ $filename }};
/bin/ollama create {{ $m.name }} -f /models/Modelfile-{{ $filename }};
{{- end }}
{{- end }}
volumes:
Expand Down

0 comments on commit 1688e3e

Please sign in to comment.