ilhooq commited on
Commit
00fa67d
1 Parent(s): 49db9cd

Add Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +7 -0
  2. README.md +1 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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 -t 2 -c 2048 --host 0.0.0.0 --port 8080 --chat-template deepseek
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: red
6
  sdk: docker
7
  pinned: false
8
  license: gpl-3.0
 
9
  ---
10
 
11
  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: 8080
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference