summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorexfly <exflyg@gmail.com>2024-03-16 09:42:36 +0100
committerexfly <exflyg@gmail.com>2024-03-16 09:49:20 +0100
commit4654d7f2844d4ab1ce29be95f5beec369cb313f2 (patch)
treee20fcdcf46a8acf30f59ab17d361081b4928c2d0 /docker/Dockerfile
parentMerge pull request #1694 from ComRSMaster/main (diff)
downloadgpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar.gz
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar.bz2
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar.lz
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar.xz
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.tar.zst
gpt4free-4654d7f2844d4ab1ce29be95f5beec369cb313f2.zip
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 88e21b18..8b2d5b7b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM selenium/node-chrome
+FROM seleniarm/node-chromium
ARG G4F_VERSION
ARG G4F_USER=g4f
@@ -81,10 +81,10 @@ WORKDIR $G4F_DIR
COPY requirements.txt $G4F_DIR
# Upgrade pip for the latest features and install the project's Python dependencies.
-RUN pip install --upgrade pip && pip install -r requirements.txt
+RUN pip install --break-system-packages --upgrade pip && pip install --break-system-packages -r requirements.txt
# Copy the entire package into the container.
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f
# Expose ports
-EXPOSE 8080 1337 \ No newline at end of file
+EXPOSE 8080 1337