Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,3 +1,7 @@
|
|
| 1 |
FROM ghcr.io/ggml-org/llama.cpp:server
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
CMD ["--hf-repo", "bartowski/Llama-3.2-3B-Instruct-GGUF", "--hf-file", "Llama-3.2-3B-Instruct-IQ3_M.gguf", "--host", "0.0.0.0", "--port", "7860", "--ctx-size", "2048"]
|
|
|
|
| 1 |
FROM ghcr.io/ggml-org/llama.cpp:server
|
| 2 |
|
| 3 |
+
# Hugging Face'in dinlediği portu çevre değişkeni olarak da sisteme dikiyoruz
|
| 4 |
+
ENV PORT=7860
|
| 5 |
+
ENV HOST=0.0.0.0
|
| 6 |
+
|
| 7 |
CMD ["--hf-repo", "bartowski/Llama-3.2-3B-Instruct-GGUF", "--hf-file", "Llama-3.2-3B-Instruct-IQ3_M.gguf", "--host", "0.0.0.0", "--port", "7860", "--ctx-size", "2048"]
|