Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -25,11 +25,8 @@ ENV MODEL_REPO="unsloth/gemma-3-4b-it-GGUF"
|
|
| 25 |
ENV MODEL_FILENAME="gemma-3-4b-it.Q4_K_M.gguf"
|
| 26 |
ENV MODEL_enableDL="?download=true"
|
| 27 |
|
| 28 |
-
# Download the
|
| 29 |
-
RUN wget
|
| 30 |
-
|
| 31 |
-
# This OK.... Download the GGUF model file directly from Hugging Face Hub.
|
| 32 |
-
#RUN wget "https://huggingface.co/unsloth/gemma-3-4b-it-qat-GGUF/resolve/main/gemma-3-4b-it-qat-Q4_K_M.gguf?download=true" -O ${MODEL_FILENAME}
|
| 33 |
|
| 34 |
# --- PERMISSIONS FIX 2: COPY FILES WITH OWNERSHIP ---
|
| 35 |
# Copy all application files into the container.
|
|
|
|
| 25 |
ENV MODEL_FILENAME="gemma-3-4b-it.Q4_K_M.gguf"
|
| 26 |
ENV MODEL_enableDL="?download=true"
|
| 27 |
|
| 28 |
+
# This hard code OK.... Download the GGUF model file directly from Hugging Face Hub.
|
| 29 |
+
RUN wget "https://huggingface.co/unsloth/gemma-3-4b-it-qat-GGUF/resolve/main/gemma-3-4b-it-qat-Q4_K_M.gguf?download=true" -O ${MODEL_FILENAME}
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
# --- PERMISSIONS FIX 2: COPY FILES WITH OWNERSHIP ---
|
| 32 |
# Copy all application files into the container.
|