Ck773/llama-cpp
0
1ARG UBUNTU_VERSION=22.042 3FROM ubuntu:$UBUNTU_VERSION as build4 5RUN apt-get update && \6 apt-get install -y build-essential git libcurl4-openssl-dev7 8WORKDIR /app9 10COPY . .11 12ENV LLAMA_CURL=113 14RUN make15 16FROM ubuntu:$UBUNTU_VERSION as runtime17 18RUN apt-get update && \19 apt-get install -y libcurl4-openssl-dev20 21COPY --from=build /app/server /server22 23ENV LC_ALL=C.utf824 25ENTRYPOINT [ "/server" ]