mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 10:40:43 -08:00
Add live update
This commit is contained in:
parent
1525fcd3e0
commit
554b51a511
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ ENV HOME /home/$G4F_USER
|
||||||
ENV PATH "${HOME}/.local/bin:${PATH}"
|
ENV PATH "${HOME}/.local/bin:${PATH}"
|
||||||
|
|
||||||
RUN git clone https://github.com/xtekky/gpt4free.git $G4F_DIR
|
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 crontab cronfile
|
||||||
RUN pip install --no-cache-dir -r requirements-slim.txt
|
RUN pip install --no-cache-dir -r requirements-slim.txt
|
||||||
|
|
||||||
CMD python -m g4f --debug --reload
|
CMD python -m g4f --port 8080 --debug --reload
|
||||||
Loading…
Add table
Add a link
Reference in a new issue