Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
|
@@ -1,10 +1,5 @@
|
|
| 1 |
FROM ghcr.io/ggml-org/llama.cpp:server
|
| 2 |
|
| 3 |
-
# Hugging Face Spaces port requirement
|
| 4 |
-
ENV HOST=0.0.0.0
|
| 5 |
-
ENV PORT=7860
|
| 6 |
-
EXPOSE 7860
|
| 7 |
-
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
RUN apt update && apt install -y python3 python3-pip python3-venv
|
|
@@ -18,8 +13,7 @@ RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
|
| 18 |
hf_hub_download(repo_id=repo, filename="gemma-4-31B-it-IQ4_NL.gguf", local_dir="/app"); \
|
| 19 |
hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
|
| 20 |
|
| 21 |
-
CMD ["--
|
| 22 |
-
"-m", "/app/gemma-4-31B-it-IQ4_NL.gguf", \
|
| 23 |
"--mmproj", "/app/mmproj-BF16.gguf", \
|
| 24 |
"--host", "0.0.0.0", \
|
| 25 |
"--port", "7860", \
|
|
|
|
| 1 |
FROM ghcr.io/ggml-org/llama.cpp:server
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
RUN apt update && apt install -y python3 python3-pip python3-venv
|
|
|
|
| 13 |
hf_hub_download(repo_id=repo, filename="gemma-4-31B-it-IQ4_NL.gguf", local_dir="/app"); \
|
| 14 |
hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
|
| 15 |
|
| 16 |
+
CMD ["-m", "/app/gemma-4-31B-it-IQ4_NL.gguf", \
|
|
|
|
| 17 |
"--mmproj", "/app/mmproj-BF16.gguf", \
|
| 18 |
"--host", "0.0.0.0", \
|
| 19 |
"--port", "7860", \
|