File size: 405 Bytes
7df891e
 
 
 
 
ef0d1aa
a704a82
7df891e
 
 
 
 
 
 
 
 
bcc9553
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ghcr.io/ggml-org/llama.cpp:server

USER root

RUN apt-get update && apt-get install -y \
    python3 python3-pip curl ca-certificates \
    && pip3 install --break-system-packages --no-cache-dir "huggingface_hub" \
    && rm -rf /var/lib/apt/lists/*

RUN mkdir -p /models && chmod 777 /models

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

EXPOSE 7860

ENTRYPOINT ["/entrypoint.sh"]