diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-23 05:44:49 +0200 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-23 05:44:49 +0200 |
commit | cb695f58e881e67387852688c109d6e5c1fe5b8e (patch) | |
tree | 071f1ea973babf61730f2bab80358458c8fa394e /docker/Dockerfile | |
parent | Merge pull request #1880 from Strvm/feat/credit_meta (diff) | |
download | gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar.gz gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar.bz2 gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar.lz gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar.xz gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.tar.zst gpt4free-cb695f58e881e67387852688c109d6e5c1fe5b8e.zip |
Diffstat (limited to '')
-rw-r--r-- | docker/Dockerfile | 8 |
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 |