Facing an Error while using Custom Docker file #2380
-
Docker file SeleniumBase Docker ImageFROM ubuntu:18.04 #======================================= Install Python and Basic Python Tools#======================================= #================================= Install Bash Command Line Tools#================================= #================ Install Chrome#================ #=========================== Configure Virtual Display#=========================== #======================= Update Python Version#======================= #============================================= Allow Special Characters in Python Programs#============================================= #===================== Download WebDrivers#===================== # Set the working directory inside the containerWORKDIR /appInstall Python dependenciesCOPY requirements.txt . Copy your SeleniumBase scripts or application codeCOPY main2.py ./ Set the entry point (replace 'main2.py' with your actual script)CMD [ "python3", "main2.py" ] Requirements File Python main2.py code proxy = "uqsqhklf:[email protected]:5868" Error that i am getting INIT_REPORT Init Duration: 10134.04 ms Phase: init Status: timeoutWarning: uc_driver not found. Getting it now: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Based on you using an AWS Lambda Docker environment, (#2378), it is limiting you: You could try asking on Stack Overflow if you have trouble making modifications to your Dockerfile, as there are a lot of qualified AWS Lambda experts on there. And don't open duplicate tickets for the same problem, as you did here: |
Beta Was this translation helpful? Give feedback.
Based on you using an AWS Lambda Docker environment, (#2378), it is limiting you:
OSError: [Errno 30] Read-only file system
. There are related Stack Overflow questions about it here: https://stackoverflow.com/q/53810516/7058266 and https://stackoverflow.com/q/39383465/7058266. According to the second one,Only /tmp seems to be writable in AWS Lambda.
(https://stackoverflow.com/a/42002539/7058266). Due to that limitation, you will need to make some modifications to your Dockerfile to accommodate. Some more info here: SeleniumHQ/selenium#12774 (comment)You could try asking on Stack Overflow if you have trouble making modifications to your Dockerfile, as there are a lot of qualified AWS Lam…