mariusjabami commited on
Commit
ab2abe8
·
verified ·
1 Parent(s): 48bb560

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -11,15 +11,15 @@ RUN pip install -U huggingface_hub
11
 
12
  # Pythonスクリプトで直接実行
13
  RUN python3 -c 'from huggingface_hub import hf_hub_download; \
14
- hf_hub_download(repo_id="lxcorp/Link1-270M-IQ4_NL-GGUF", \
15
- filename="link1-270m-iq4_nl-imat.gguf", \
16
  local_dir=".", \
17
  local_dir_use_symlinks=False)'
18
 
19
  # 念のためファイルが存在するか確認する
20
- RUN ls -lh /app/link1-270m-iq4_nl-imat.gguf
21
 
22
  # CPUでサーバーを起動
23
  COPY template /app/template
24
  # CPUでサーバーを起動
25
- CMD ["--server","-m","/app/link1-270m-iq4_nl-imat.gguf","--chat-template-file","/app/template","--port","7860","--host","0.0.0.0","-n","4096"]
 
11
 
12
  # Pythonスクリプトで直接実行
13
  RUN python3 -c 'from huggingface_hub import hf_hub_download; \
14
+ hf_hub_download(repo_id="lxcorp/Link1-270M-Q8_0-GGUF", \
15
+ filename="link1-270m-q8_0.gguf", \
16
  local_dir=".", \
17
  local_dir_use_symlinks=False)'
18
 
19
  # 念のためファイルが存在するか確認する
20
+ RUN ls -lh /app/link1-270m-q8_0.gguf
21
 
22
  # CPUでサーバーを起動
23
  COPY template /app/template
24
  # CPUでサーバーを起動
25
+ CMD ["--server","-m","/app/link1-270m-q8_0.gguf","--chat-template-file","/app/template","--port","7860","--host","0.0.0.0","-n","4096"]