ramedde commited on
Commit
36a354b
·
verified ·
1 Parent(s): 0549216

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -23,6 +23,14 @@ ENV GRADIO_SERVER_NAME="0.0.0.0"
23
  ENV GRADIO_SERVER_PORT="7860"
24
 
25
  RUN pip install --no-cache-dir --upgrade pip
 
 
 
 
 
 
 
 
26
 
27
  COPY requirements.txt .
28
  RUN pip install --no-cache-dir -r requirements.txt
 
23
  ENV GRADIO_SERVER_PORT="7860"
24
 
25
  RUN pip install --no-cache-dir --upgrade pip
26
+ # Download model using wget directly (no token needed for public models)
27
+ RUN apt-get update && apt-get install -y wget && \
28
+ wget -q --show-progress \
29
+ "https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/main/qwen2.5-0.5b-instruct-q4_k_m.gguf" \
30
+ -O /app/model.gguf && \
31
+ echo "✅ Model size: $(du -sh /app/model.gguf)"
32
+
33
+
34
 
35
  COPY requirements.txt .
36
  RUN pip install --no-cache-dir -r requirements.txt