summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-12-07 07:18:05 +0100
committerGitHub <noreply@github.com>2023-12-07 07:18:05 +0100
commit484b96d850aca9b9144f3b8dd2fb502b25356c22 (patch)
treeb10fe200193cfdbe0ee25714df49959c01c6265f /docker
parentUpdate Pi.py (diff)
downloadgpt4free-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/Dockerfile4
-rw-r--r--docker/background.pngbin0 -> 155456 bytes
-rwxr-xr-xdocker/supervisor.conf2
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
new file mode 100644
index 00000000..41bf9e6b
--- /dev/null
+++ b/docker/background.png
Binary files differ
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