Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ RUN python3 -m venv /opt/venv
|
|
| 7 |
ENV PATH="/opt/venv/bin:$PATH"
|
| 8 |
|
| 9 |
|
| 10 |
-
RUN pip install --no-cache-dir huggingface_hub
|
| 11 |
|
| 12 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 13 |
repo="unsloth/gemma-4-E4B-it-GGUF"; \
|
|
@@ -24,4 +24,6 @@ CMD ["-m", "/app/gemma-4-E4B-it-Q4_K_M.gguf", \
|
|
| 24 |
"--cache-type-v", "iq4_nl", \
|
| 25 |
"--top-k", "64", \
|
| 26 |
"-rea", "off", \
|
| 27 |
-
"-c", "128000"]
|
|
|
|
|
|
|
|
|
| 7 |
ENV PATH="/opt/venv/bin:$PATH"
|
| 8 |
|
| 9 |
|
| 10 |
+
RUN pip install --no-cache-dir huggingface_hub gradio
|
| 11 |
|
| 12 |
RUN python3 -c 'from huggingface_hub import hf_hub_download; \
|
| 13 |
repo="unsloth/gemma-4-E4B-it-GGUF"; \
|
|
|
|
| 24 |
"--cache-type-v", "iq4_nl", \
|
| 25 |
"--top-k", "64", \
|
| 26 |
"-rea", "off", \
|
| 27 |
+
"-c", "128000"]
|
| 28 |
+
|
| 29 |
+
CMD bash -c "llama-server -m /app/gemma-4-E4B-it-Q4_K_M.gguf --mmproj /app/mmproj-BF16.gguf --host 0.0.0.0 --port 8080 --no-ui -t 2 --cache-type-k q8_0 --cache-type-v iq4_nl --top-k 64 -rea off -c 128000 & sleep 5 && python3 app.py"
|