Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
48920c87
Commit
48920c87
authored
Jun 30, 2023
by
Jeffrey Morgan
Browse files
add basic `Dockerfile`
parent
05092f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+4
-4
No files found.
Dockerfile
View file @
48920c87
FROM
ubuntu:22.04
RUN
apt-get update
&&
apt-get
install
-y
build-essential python3.11 python3-pip
RUN
python3.11
-m
pip
install
ollama
FROM
python:3-slim-bullseye
RUN
apt-get update
&&
apt-get
install
-y
build-essential gcc ninja-build libopenblas-dev
RUN
python
-m
pip
install
--upgrade
pip setuptools
RUN
CMAKE_ARGS
=
"-DLLAMA_OPENBLAS=on"
FORCE_CMAKE
=
1 pip
install
ollama
ENTRYPOINT
["ollama"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment