mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-21 23:39:30 +08:00
Add live update
This commit is contained in:
@@ -31,8 +31,8 @@ ENV HOME /home/$G4F_USER
|
||||
ENV PATH "${HOME}/.local/bin:${PATH}"
|
||||
|
||||
RUN git clone https://github.com/xtekky/gpt4free.git $G4F_DIR
|
||||
RUN printf "0 * * * * python -m etc.update\n" > cronfile
|
||||
RUN printf "0 * * * * python -m etc.tool.update\n" > cronfile
|
||||
RUN crontab cronfile
|
||||
RUN pip install --no-cache-dir -r requirements-slim.txt
|
||||
|
||||
CMD python -m g4f --debug --reload
|
||||
CMD python -m g4f --port 8080 --debug --reload
|
Reference in New Issue
Block a user