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
2ded8ab2
"vscode:/vscode.git/clone" did not exist on "7992eb5da9c2e67469734e43f3d07e242d4f5273"
Commit
2ded8ab2
authored
Sep 25, 2023
by
Jeffrey Morgan
Browse files
use `11.8.0` nvidia dockerfile base image for now
parent
e6b3648b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
Dockerfile
Dockerfile
+3
-8
No files found.
Dockerfile
View file @
2ded8ab2
ARG
CUDA_VERSION=12.2.0
FROM
nvidia/cuda:$CUDA_VERSION-devel-ubuntu22.04
FROM
nvidia/cuda:11.8.0-devel-ubuntu22.04
ARG
TARGETARCH
ARG
VERSION=0.0.0
...
...
@@ -19,13 +17,10 @@ FROM ubuntu:22.04
ENV
OLLAMA_HOST 0.0.0.0
RUN
apt-get update
&&
apt-get
install
-y
ca-certificates
ARG
USER=ollama
ARG
GROUP=ollama
RUN
groupadd
$GROUP
&&
useradd
-m
-g
$GROUP
$USER
RUN
groupadd ollama
&&
useradd
-m
-g
ollama ollama
COPY
--from=0 /go/src/github.com/jmorganca/ollama/ollama /bin/ollama
USER
$USER:$GROUP
USER
ollama:ollama
ENTRYPOINT
["/bin/ollama"]
CMD
["serve"]
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