File size: 784 Bytes
f0d9981
 
857e31a
f0d9981
f03edee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98280d8
 
1e26412
98280d8
f0d9981
 
 
 
 
857e31a
1e26412
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ghcr.io/ggerganov/llama.cpp:full

ENV DEBIAN_FRONTEND=noninteractive

# Update and install necessary dependencies
RUN apt update && \
    apt install --no-install-recommends -y \
        build-essential \
        python3 \
        python3-pip \
        wget \
        curl \
        git \
        cmake \
        zlib1g-dev \
        libblas-dev && \
    apt clean && \
    rm -rf /var/lib/apt/lists/*

WORKDIR /app

RUN wget https://huggingface.co/Nan-Do/Truthful_DPO_TomGrc_FusionNet_7Bx2_MoE_13B-GGUF/resolve/main/Truthful_DPO_TomGrc_FusionNet_7Bx2_MoE_13B-Q4_0.gguf

RUN make

# Expose the port
EXPOSE 8080

# Use the model name variable in CMD as well
CMD ["--server", "--model", "Truthful_DPO_TomGrc_FusionNet_7Bx2_MoE_13B-Q4_0.gguf", "--threads", "8", "--host", "0.0.0.0"]