Do I need chromedriver inside Docker? Or should I pull playwright's image #633
Unanswered
alvaroserrrano
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use a Docker container for an application. I am currently installing chromedriver inside the docker container because the api said "chromedriver needs to be in path". Is this step really necessary? Could that be the reason why I am having a conflict with playwright to which I get the log
"please run python -m install playwright"
(which does not make sense). I have also seen people say that there is a conflict between playwright and pyppeteer, but I do not think my problem is related to that.As of right now I am installing requirements as usual and the running python -m playwright install, which I believe is redundant and not really necessary.
Also, I can see that Dockerfile of the api pulls from the microfts/playwright image and then installs python3-pip. Do I have to use this in my Dockerfile? My base image is FROM python3.8. Perhaps I should create a virtual environment inside the container?
Thanks a lot for your help
Beta Was this translation helpful? Give feedback.
All reactions