mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
Merge branch 'master' into feature/devcontainer
This commit is contained in:
commit
56f2b743df
3 changed files with 5 additions and 14 deletions
|
@ -2,7 +2,7 @@ ARG GO_VERSION=1.20
|
|||
ARG DEBIAN_VERSION=11
|
||||
FROM golang:$GO_VERSION as builder
|
||||
WORKDIR /build
|
||||
ARG GO_LLAMA_CPP_TAG=llama.cpp-8b67998
|
||||
ARG GO_LLAMA_CPP_TAG=llama.cpp-2f7c8e0
|
||||
RUN git clone -b $GO_LLAMA_CPP_TAG --recurse-submodules https://github.com/go-skynet/go-llama.cpp
|
||||
RUN cd go-llama.cpp && make libbinding.a
|
||||
COPY go.mod ./
|
||||
|
@ -17,4 +17,4 @@ RUN C_INCLUDE_PATH=/build/go-llama.cpp LIBRARY_PATH=/build/go-llama.cpp go build
|
|||
FROM debian:$DEBIAN_VERSION
|
||||
COPY --from=builder /build/llama-cli /usr/bin/llama-cli
|
||||
ENTRYPOINT [ "/usr/bin/llama-cli" ]
|
||||
CMD [ "sleep", "infinity" ]
|
||||
CMD [ "sleep", "infinity" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue