diff --git a/Dockerfile b/Dockerfile index df1b18de..17cd7fd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 ARG TARGETARCH ARG VERSION=0.0.0 +ARG GOFLAGS="'-ldflags -w -s'" WORKDIR /go/src/github.com/jmorganca/ollama RUN apt-get update && apt-get install -y git build-essential cmake @@ -11,7 +12,7 @@ RUN mkdir -p /usr/local && tar xz -C /usr/local