XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update live image

d64d64bd
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

2 个文件 +8 -5
Modified docker/Dockerfile-slim +2 -5
@@ -31,12 +31,9 @@ ENV HOME /home/$G4F_USER
31 31 ENV PATH "${HOME}/.local/bin:${PATH}"
32 32
33 33 RUN git clone https://github.com/xtekky/gpt4free.git $G4F_DIR \
34 && printf "*/15 * * * * ./docker/start.sh\n" > cronfile \
35 && printf "*/15 * * * * python -m etc.tool.update\n" >> cronfile && crontab cronfile \
36 && pip install --no-cache-dir -r requirements-min.txt
34 && pip install --no-cache-dir -r requirements-slim.txt
37 35 RUN git clone https://github.com/hlohaus/deepseek4free.git \
38 36 && cd deepseek4free && git checkout 21Feb \
39 37 && pip install --no-cache-dir . && cd .. && rm -rf deepseek4free
40 38
41 USER root
42 CMD cron && su -c docker/start.sh $G4F_USER
39 CMD docker/update.sh & docker/start.sh
Added docker/update.sh +6 -0
@@ -0,0 +1,6 @@
1 #!/usr/bin/env bash
2 while :
3 do
4 python -m etc.tool.update
5 sleep 600
6 done