gemma-3 / Dockerfile
OrbitMC's picture
Update Dockerfile
c76d43e
raw
history blame contribute delete
903 Bytes
FROM ghcr.io/ggml-org/llama.cpp:full
WORKDIR /app
# প্রয়োজনীয় প্যাকেজ ইনস্টল
RUN apt update && apt install -y python3-pip
RUN pip install -U huggingface_hub
# Hugging Face থেকে মডেল ডাউনলোড
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
repo="mradermacher/LFM2-2.6B-Uncensored-X64-GGUF"; \
hf_hub_download(repo_id=repo, filename="LFM2-2.6B-Uncensored-X64.Q3_K_S.gguf", local_dir="/app");'
# সার্ভার কনফিগারেশন (Thinking মোড ডিজেবল করা হয়েছে)
ENTRYPOINT ["/app/llama-server"]
CMD ["-m", "/app/LFM2-2.6B-Uncensored-X64.Q3_K_S.gguf", \
"--host", "0.0.0.0", \
"--port", "7860", \
"-t", "2", \
"--cache-type-k", "q4_0", \
"--cache-type-v", "iq4_nl", \
"-c", "128000", \
"-n", "38912", \
"--jinja"]