Fast-Game-AI / Dockerfile
M-hv1's picture
Update Dockerfile
5d087b5 verified
raw
history blame contribute delete
492 Bytes
# 1. نستخدم نسخة جاهزة تماماً من الشركة (ممنوع البناء)
FROM ghcr.io/abetlen/llama-cpp-python:latest
# 2. نحدد المتغيرات (اسم اللعبة فقط)
ENV MODEL_REPO=Qwen/Qwen2.5-1.5B-Instruct-GGUF
ENV MODEL_FILE=qwen2.5-1.5b-instruct-q4_k_m.gguf
ENV HOST=0.0.0.0
ENV PORT=7860
# 3. نفتح المنفذ
EXPOSE 7860
# 4. نشغل السيرفر فوراً
CMD ["python3", "-m", "llama_cpp.server", "--host", "0.0.0.0", "--port", "7860"]