Coding-Agent / Dockerfile
SALEETAI's picture
Update Dockerfile
003c00d verified
raw
history blame contribute delete
562 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y build-essential git curl && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
gradio \
huggingface_hub \
numpy \
"llama-cpp-python>=0.2.75" --extra-index-url https://github.io
WORKDIR /app
# --- NEW: Download model during build ---
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='SALEETAI/coding-agent-qwen-sft-v2-GGUF', filename='coding-agent-qwen-sft-v2-GGUF.q4_k_m.gguf', local_dir='/app')"
COPY . .
CMD ["python", "app.py"]