diff --git a/Dockerfile.cuda b/Dockerfile.cuda new file mode 100644 index 00000000..3fe68f81 --- /dev/null +++ b/Dockerfile.cuda @@ -0,0 +1,22 @@ +FROM nvidia/cuda:12.2.0-devel-ubuntu22.04 + +WORKDIR /go/src/github.com/jmorganca/ollama +RUN apt-get update && apt-get install -y git build-essential cmake +ADD https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz /tmp/go1.21.1.tar.gz +RUN mkdir -p /usr/local && tar xz -C /usr/local