bellman / Dockerfile
neph1's picture
Update Dockerfile
2da0c5f verified
raw
history blame
549 Bytes
FROM python:3.12
RUN useradd -m -u 1000 app
WORKDIR /home/app
RUN apt update
RUN apt install -y wget make cmake clang git g++
RUN wget https://huggingface.co/mradermacher/bellman-mistral-7b-instruct-v0.3-GGUF/blob/main/bellman-mistral-7b-instruct-v0.3.Q5_K_M.gguf?download=true -O model.gguf
ADD https://github.com/ggerganov/llama.cpp/releases/download/b4502/llama-b4502-bin-ubuntu-x64.zip .
RUN ls -l .
RUN apt install socat -y
EXPOSE 7860
CMD ["sh", "-c", "./build/bin/llama-server -m /home/app/model.gguf -c 8192 --host 0.0.0.0 --port 7860"]