返回提交历史
Modified
docker/Dockerfile-slim
+2
-2
XFEstudio/gpt4free
Add live update
554b51a5
代码差异
1 个文件
+2
-2
@@ -31,8 +31,8 @@ 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
RUN printf "0 * * * * python -m etc.update\n" > cronfile
34
RUN printf "0 * * * * python -m etc.tool.update\n" > cronfile
35
35
RUN crontab cronfile
36
36
RUN pip install --no-cache-dir -r requirements-slim.txt
37
37
38
CMD python -m g4f --debug --reload
38
CMD python -m g4f --port 8080 --debug --reload