diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2023-12-07 07:18:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 07:18:05 +0100 |
commit | 484b96d850aca9b9144f3b8dd2fb502b25356c22 (patch) | |
tree | b10fe200193cfdbe0ee25714df49959c01c6265f /docker | |
parent | Update Pi.py (diff) | |
download | gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar.gz gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar.bz2 gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar.lz gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar.xz gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.tar.zst gpt4free-484b96d850aca9b9144f3b8dd2fb502b25356c22.zip |
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 4 | ||||
-rw-r--r-- | docker/background.png | bin | 0 -> 155456 bytes | |||
-rwxr-xr-x | docker/supervisor.conf | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 905efc4b..66f7fd3c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,6 +3,8 @@ FROM selenium/node-chrome ENV SE_SCREEN_WIDTH 1850 ENV G4F_LOGIN_URL http://localhost:7900/?autoconnect=1&resize=scale&password=secret ENV PYTHONUNBUFFERED 1 +ARG G4F_VERSION +ENV G4F_VERSION ${G4F_VERSION} USER root @@ -22,7 +24,7 @@ RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* \ COPY docker/supervisor.conf /etc/supervisor/conf.d/selenium.conf # Change background image -COPY g4f.png /usr/share/images/fluxbox/ubuntu-light.png +COPY docker/background.png /usr/share/images/fluxbox/ubuntu-light.png # Switch user USER 1200 diff --git a/docker/background.png b/docker/background.png Binary files differnew file mode 100644 index 00000000..41bf9e6b --- /dev/null +++ b/docker/background.png diff --git a/docker/supervisor.conf b/docker/supervisor.conf index 6d82f6c9..e76f9a6c 100755 --- a/docker/supervisor.conf +++ b/docker/supervisor.conf @@ -49,7 +49,7 @@ stderr_logfile_backups=5 stdout_capture_maxbytes=50MB stderr_capture_maxbytes=50MB -[program:g4f-cli] +[program:g4f-api] priority=15 command=python -m g4f.cli api directory=/app |