refactor: Some minor refactorings
This commit is contained in:
@@ -3,7 +3,9 @@ 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
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt --break-system-packages
|
||||
|
||||
RUN echo 'from undetected_chromedriver.patcher import Patcher\n\
|
||||
Patcher(executable_path="/usr/bin/chromedriver").patch()\n\
|
||||
|
||||
Reference in New Issue
Block a user