Fix selenium user_profile folder ?

This commit is contained in:
2025-08-03 12:46:00 +02:00
parent f0e52147e4
commit 0aa34d170a
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ abstract class BrowserJob implements ShouldQueue
'--disable-setuid-sandbox',
'--whitelisted-ips=""',
'--disable-dev-shm-usage',
'--user-data-dir=/home/seluser/profile/nigga/', // seems that selenium doesn't like docker having a volume on the exact same folder ("session not created: probably user data directory is already in use")
'--user-data-dir=/home/seluser/profile/nigga', // seems that selenium doesn't like docker having a volume on the exact same folder ("session not created: probably user data directory is already in use")
])->all());
return RemoteWebDriver::create(

View File

@ -3,7 +3,7 @@
FROM selenium/standalone-chrome:latest AS final
COPY ./chromedriver /bin/chromedriver
#RUN mkdir -p /home/seluser/profile/
RUN mkdir -p /home/seluser/profile/nigga
ENV TZ=Europe/Brussels
# 30 minutes session timeout