feat: Some quality of life improvements
This commit is contained in:
14
selenium-patch/Dockerfile
Normal file
14
selenium-patch/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM selenium/standalone-chromium:4.43.0-20260404
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get update && apt-get install -y python3-pip
|
||||
RUN pip3 install undetected-chromedriver setuptools --break-system-packages
|
||||
|
||||
RUN echo 'from undetected_chromedriver.patcher import Patcher\n\
|
||||
Patcher(executable_path="/usr/bin/chromedriver").patch()\n\
|
||||
print("Chromedriver patched inside Docker successfully!")' > /tmp/patch.py
|
||||
|
||||
RUN python3 /tmp/patch.py
|
||||
|
||||
USER seluser
|
||||
Reference in New Issue
Block a user