Update Dockerfile
Browse files- Dockerfile +1 -15
Dockerfile
CHANGED
|
@@ -15,18 +15,4 @@ ENV PATH="/opt/venv/bin:${PATH}"
|
|
| 15 |
RUN pip install --no-cache-dir --upgrade pip huggingface_hub
|
| 16 |
|
| 17 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF', filename='DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf', local_dir='/app')"
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
CMD [
|
| 21 |
-
"--model",
|
| 22 |
-
"/app/DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf",
|
| 23 |
-
"--host","0.0.0.0",
|
| 24 |
-
"--port","7860",
|
| 25 |
-
"-t","4",
|
| 26 |
-
"-b","1024",
|
| 27 |
-
"-c","8192",
|
| 28 |
-
"-n","4096",
|
| 29 |
-
"--parallel","1",
|
| 30 |
-
"--cache-type-k","q8_0",
|
| 31 |
-
"--cache-type-v","q8_0"
|
| 32 |
-
]
|
|
|
|
| 15 |
RUN pip install --no-cache-dir --upgrade pip huggingface_hub
|
| 16 |
|
| 17 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF', filename='DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf', local_dir='/app')"
|
| 18 |
+
CMD ["--server","-m","/app/DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf","--host","0.0.0.0","--port","7860","-t","4","-b","1024","-c","8192","-n","4096","--parallel","1","--cache-type-k","q8_0","--cache-type-v","q8_0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|