Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -2,10 +2,10 @@ FROM ghcr.io/ggml-org/llama.cpp:server
|
|
| 2 |
|
| 3 |
USER root
|
| 4 |
|
| 5 |
-
#
|
| 6 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
curl \
|
| 8 |
-
&& rm -rf /models/* \
|
| 9 |
&& mkdir -p /models \
|
| 10 |
&& curl -L https://huggingface.co/unsloth/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q4_K_M.gguf -o /models/model.gguf \
|
| 11 |
&& chown -R 1000:1000 /models \
|
|
|
|
| 2 |
|
| 3 |
USER root
|
| 4 |
|
| 5 |
+
# Completely wipe and reinstall fresh, bypassing cached layers
|
| 6 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
curl \
|
| 8 |
+
&& rm -rf /models /root/.cache /tmp/* \
|
| 9 |
&& mkdir -p /models \
|
| 10 |
&& curl -L https://huggingface.co/unsloth/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q4_K_M.gguf -o /models/model.gguf \
|
| 11 |
&& chown -R 1000:1000 /models \
|