diff options
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 |