Diodaa commited on
Commit
1bbbc47
·
verified ·
1 Parent(s): faee157

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -11
Dockerfile CHANGED
@@ -14,16 +14,10 @@ RUN python3 -c 'from huggingface_hub import hf_hub_download; \
14
  hf_hub_download(repo_id=repo, filename="gemma-4-E4B-it-Q4_K_M.gguf", local_dir="/app"); \
15
  hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
16
 
17
- CMD ["-m", "/app/gemma-4-E4B-it-Q4_K_M.gguf", \
18
- "--mmproj", "/app/mmproj-BF16.gguf", \
19
- "--host", "0.0.0.0", \
20
- "--port", "7860", \
21
- "--ui-mcp-proxy", \
22
- "-t", "2", \
23
- "--cache-type-k", "q8_0", \
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"
 
14
  hf_hub_download(repo_id=repo, filename="gemma-4-E4B-it-Q4_K_M.gguf", local_dir="/app"); \
15
  hf_hub_download(repo_id=repo, filename="mmproj-BF16.gguf", local_dir="/app")'
16
 
17
+ WORKDIR /app
18
+
19
+ COPY app.py .
20
+
21
+ EXPOSE 8080 7860
 
 
 
 
 
 
22
 
23
  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"