summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-23 17:38:42 +0200
committerGitHub <noreply@github.com>2024-04-23 17:38:42 +0200
commit10f25fdcaf5bf74abc798c70d218ce481116c217 (patch)
treed0c06f94dd1c5be203fb02b95e22c51ff976be88 /docker/Dockerfile
parentMerge pull request #1880 from Strvm/feat/credit_meta (diff)
parentAdd conversation title change in gui (diff)
downloadgpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar.gz
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar.bz2
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar.lz
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar.xz
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.tar.zst
gpt4free-10f25fdcaf5bf74abc798c70d218ce481116c217.zip
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 041334a6..eb03390c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -73,13 +73,11 @@ 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
-
-# Install selenium driver and uninstall webdriver
-RUN pip install --break-system-packages \
+ && pip install --break-system-packages -r requirements.txt \
+ && pip install --break-system-packages \
undetected-chromedriver selenium-wire \
&& pip uninstall -y --break-system-packages \
- webdriver plyer nodriver
+ pywebview plyer
# Copy the entire package into the container.
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f