Spaces:
Sleeping
Sleeping
Boning c
commited on
Update Dockerfile
Browse files- Dockerfile +13 -5
Dockerfile
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
|
|
| 1 |
FROM ghcr.io/ggml-org/llama.cpp:full
|
| 2 |
|
| 3 |
-
|
|
|
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the official llama.cpp full image
|
| 2 |
FROM ghcr.io/ggml-org/llama.cpp:full
|
| 3 |
|
| 4 |
+
# Install curl for robust downloading
|
| 5 |
+
RUN apt update && apt install -y curl
|
| 6 |
|
| 7 |
+
# Download the GGUF model using the correct Hugging Face URL
|
| 8 |
+
RUN curl -L "https://huggingface.co/mradermacher/StrawberryLemonade-L3-70B-v1.0-i1-GGUF/resolve/main/StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf" \
|
| 9 |
+
-o /StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf
|
| 10 |
|
| 11 |
+
# Run the server with the model
|
| 12 |
+
CMD ["--server",
|
| 13 |
+
"-m", "/StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf",
|
| 14 |
+
"--port", "7860",
|
| 15 |
+
"--host", "0.0.0.0",
|
| 16 |
+
"-n", "512",
|
| 17 |
+
"--no-warmup"]
|