Spaces:
Sleeping
Sleeping
Boning c
commited on
Update Dockerfile
Browse files- Dockerfile +4 -16
Dockerfile
CHANGED
|
@@ -1,17 +1,5 @@
|
|
| 1 |
-
# Use the official llama.cpp full
|
| 2 |
FROM ghcr.io/ggml-org/llama.cpp:full
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 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"]
|
|
|
|
| 1 |
+
# Use the official llama.cpp full
|
| 2 |
FROM ghcr.io/ggml-org/llama.cpp:full
|
| 3 |
+
RUN apt update && apt install wget -y
|
| 4 |
+
RUN wget "https://huggingface.co/mradermacher/StrawberryLemonade-L3-70B-v1.0-i1-GGUF/blob/main/StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf" -O /StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf
|
| 5 |
+
CMD ["--server", "-m", "/StrawberryLemonade-L3-70B-v1.0.i1-IQ2_M.gguf", "--port", "7860", "--host", "0.0.0.0", "-n", "512", "--no-warmup"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|