Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,10 +10,10 @@ RUN apt-get update && \
|
|
| 10 |
|
| 11 |
# In your Dockerfile
|
| 12 |
RUN pip install huggingface_hub "huggingface_hub[cli]" --break-system-packages
|
| 13 |
-
RUN huggingface-cli download unsloth/Qwen3-4B-Thinking-2507-GGUF Qwen3-4B-Thinking-2507-Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
| 14 |
|
| 15 |
# Download the model during the build process
|
| 16 |
-
|
| 17 |
|
| 18 |
# Update packages and install curl and gnupg
|
| 19 |
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
|
|
|
| 10 |
|
| 11 |
# In your Dockerfile
|
| 12 |
RUN pip install huggingface_hub "huggingface_hub[cli]" --break-system-packages
|
| 13 |
+
#RUN huggingface-cli download unsloth/Qwen3-4B-Thinking-2507-GGUF Qwen3-4B-Thinking-2507-Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
| 14 |
|
| 15 |
# Download the model during the build process
|
| 16 |
+
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='unsloth/Qwen3-4B-Thinking-2507-GGUF', filename='Qwen3-4B-Thinking-2507-Q4_K_M.gguf', local_dir='.')"
|
| 17 |
|
| 18 |
# Update packages and install curl and gnupg
|
| 19 |
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|