HuggingFace0920 commited on
Commit
c341b2c
·
verified ·
1 Parent(s): 4a0b630

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM ghcr.io/suwayomi/tachidesk:preview
3
  USER root
4
  RUN chmod -R 777 /tmp
5
 
6
- # 安装 python3-pip 和 huggingface_hub
7
- RUN apt-get update && apt-get install -y python3-pip && pip3 install huggingface_hub
8
 
9
  VOLUME ["/home/suwayomi/.local/share/Tachidesk"]
 
3
  USER root
4
  RUN chmod -R 777 /tmp
5
 
6
+ # 安装 python3-pip 和 huggingface_hub(加 --break-system-packages 以兼容 Debian/Ubuntu)
7
+ RUN apt-get update && apt-get install -y python3-pip && pip3 install huggingface_hub --break-system-packages
8
 
9
  VOLUME ["/home/suwayomi/.local/share/Tachidesk"]