summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-26 21:45:53 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-26 21:45:53 +0100
commitfd92918b77e36f83a8b7a59469df35f3f23a48f1 (patch)
tree732d16b41c991c22b17683ca88e68aa62ddef834 /docker
parentNo arkose token and .har files (diff)
downloadgpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.gz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.bz2
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.lz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.xz
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.tar.zst
gpt4free-fd92918b77e36f83a8b7a59469df35f3f23a48f1.zip
Diffstat (limited to '')
-rw-r--r--docker/Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8b2d5b7b..3e606ae6 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -81,7 +81,14 @@ WORKDIR $G4F_DIR
COPY requirements.txt $G4F_DIR
# Upgrade pip for the latest features and install the project's Python dependencies.
-RUN pip install --break-system-packages --upgrade pip && pip install --break-system-packages -r requirements.txt
+RUN pip install --break-system-packages --upgrade pip \
+ && pip install --break-system-packages -r requirements.txt
+
+# Install selenium driver and uninstall webdriver
+RUN pip install --break-system-packages \
+ undetected-chromedriver selenium-wire \
+ && pip uninstall -y --break-system-packages \
+ webdriver plyer
# Copy the entire package into the container.
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f