summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-06 11:54:50 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-06 11:54:50 +0100
commitc667f1cec521534781de51e316d5edeed89bdb89 (patch)
tree766b0de6fe8d9bda0dfc9f7fed5b452f3717b504 /docker/Dockerfile
parentAdd selenium to dockerfile (diff)
downloadgpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.gz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.bz2
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.lz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.xz
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.tar.zst
gpt4free-c667f1cec521534781de51e316d5edeed89bdb89.zip
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 354f66d1..0c52940d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,6 +2,7 @@ FROM selenium/node-chrome
ENV SE_SCREEN_WIDTH 1920
ENV G4F_LOGIN_URL http://localhost:7900/?autoconnect=1&resize=scale&password=secret
+ENV PYTHONUNBUFFERED 1
USER root
@@ -18,7 +19,7 @@ RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
&& apt-get -qyy clean
# Update entrypoint
-COPY docker/start-selenium-node.sh /opt/bin/
+COPY docker/supervisor.conf /etc/supervisor/conf.d/selenium.conf
# Change background image
COPY g4f.png /usr/share/images/fluxbox/ubuntu-light.png