Sort of working beta
This commit is contained in:
BIN
undetectedChromedriver/chromedriver-linux
Executable file
BIN
undetectedChromedriver/chromedriver-linux
Executable file
Binary file not shown.
1
undetectedChromedriver/getChromeDriver.sh
Normal file
1
undetectedChromedriver/getChromeDriver.sh
Normal file
@ -0,0 +1 @@
|
||||
sudo docker run --rm -it -p 3389:3389 -v ./undetectedChromedriver:/root/.local/share/undetected_chromedriver/ ultrafunk/undetected-chromedriver:latest
|
10
undetectedChromedriver/seleniumChromedriverDockerfile
Normal file
10
undetectedChromedriver/seleniumChromedriverDockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM selenium/standalone-chrome:108.0 AS final
|
||||
|
||||
COPY undetectedChromedriver/chromedriver-linux /bin/chromedriver
|
||||
RUN mkdir -p /home/seluser/profile/
|
||||
|
||||
ENV TZ=Europe/Brussels
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -s http://localhost:4444/wd/hub/status | jq -e '.value.ready == true' || exit 1
|
||||
|
||||
|
16
undetectedChromedriver/undetectedChromeDriver.yaml
Normal file
16
undetectedChromedriver/undetectedChromeDriver.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
undetected-chromedriver:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: undetectedChromedriver/seleniumChromedriverDockerfile
|
||||
volumes:
|
||||
- /tmp:/tmp
|
||||
- chromeProfile:/home/seluser/profile/
|
||||
shm_size: 2gb
|
||||
tty: true
|
||||
ports:
|
||||
- "4444:4444"
|
||||
- "7900:7900"
|
||||
|
||||
volumes:
|
||||
chromeProfile:
|
Reference in New Issue
Block a user