chore(依赖): 调整模型依赖安装方式

将 torch 与 transformers 纳入默认运行依赖,并让 Docker 镜像安装完整项目依赖。
This commit is contained in:
starrrLight committed 2026-10-15 15:47:19 +08:00
1 parent ca146c1464
commit f905aa22cc
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ COPY middleware ./middleware
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple \
--trusted-host pypi.tuna.tsinghua.edu.cn \
--default-timeout=60 --no-cache-dir \
".[guard]"
.
COPY config.yaml ./
COPY plugins ./plugins
ENV HF_HUB_OFFLINE=1