Change app port
Browse files- Dockerfile +4 -2
- README.md +1 -1
Dockerfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
FROM ghcr.io/ggerganov/llama.cpp:server
|
2 |
|
3 |
-
RUN mkdir
|
4 |
|
5 |
ADD https://huggingface.co/TheBloke/deepseek-coder-6.7B-instruct-GGUF/resolve/main/deepseek-coder-6.7b-instruct.Q6_K.gguf /models/deepseek-coder-6.7b-instruct.Q6_K.gguf
|
6 |
|
7 |
-
ENTRYPOINT /server
|
|
|
|
|
|
1 |
FROM ghcr.io/ggerganov/llama.cpp:server
|
2 |
|
3 |
+
RUN mkdir /models
|
4 |
|
5 |
ADD https://huggingface.co/TheBloke/deepseek-coder-6.7B-instruct-GGUF/resolve/main/deepseek-coder-6.7b-instruct.Q6_K.gguf /models/deepseek-coder-6.7b-instruct.Q6_K.gguf
|
6 |
|
7 |
+
ENTRYPOINT [ "/server" ]
|
8 |
+
|
9 |
+
CMD [ "--host", "0.0.0.0", "--port", "7860", "--model", "/models/deepseek-coder-6.7b-instruct.Q6_K.gguf", "-c", "4096", "--chat-template", "deepseek" ]
|
README.md
CHANGED
@@ -6,7 +6,7 @@ colorTo: red
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: gpl-3.0
|
9 |
-
app_port:
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: gpl-3.0
|
9 |
+
app_port: 7860
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|