Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

only install playwright not patchright and pip

Nick Sweetinge26ea5b630a1
diff --git a/Dockerfile b/Dockerfile
index 67135f76b..6e538889b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,8 +19,7 @@ WORKDIR /app
COPY pyproject.toml /app/
# 6. Install patchright (version from pyproject.toml)
-RUN python3 -m pip install --upgrade pip --quiet \
- && python3 -m pip install patchright --quiet
+RUN pip install playwright==$PLAYWRIGHT_VERSION
# 7. Install Chromium via patchright
RUN playwright install --with-deps --no-shell chromium