ilhooq commited on
Commit
2fe6c20
1 Parent(s): 1eb3652

Change app port

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -2
  2. README.md +1 -1
Dockerfile CHANGED
@@ -1,7 +1,9 @@
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 -m /models/deepseek-coder-6.7b-instruct.Q6_K.gguf -v -c 1024 --host 0.0.0.0 --port 8080 --chat-template deepseek
 
 
 
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: 8080
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