Update Dockerfile
Browse files- 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-
|
| 15 |
-
filename="link1-270m-
|
| 16 |
local_dir=".", \
|
| 17 |
local_dir_use_symlinks=False)'
|
| 18 |
|
| 19 |
# 念のためファイルが存在するか確認する
|
| 20 |
-
RUN ls -lh /app/link1-270m-
|
| 21 |
|
| 22 |
# CPUでサーバーを起動
|
| 23 |
COPY template /app/template
|
| 24 |
# CPUでサーバーを起動
|
| 25 |
-
CMD ["--server","-m","/app/link1-270m-
|
|
|
|
| 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"]
|