Dockerfile for running Python Selenium in headless Chrome (Python 2.7 / 3.6 / 3.7 / 3.8 / Alpine based Python / Chromedriver / Selenium / Xvfb included in different versions)
On the Docker image, joyzoursky/python-chromedriver:3.7-alpine3.8-selenium, the base image should be python:3.7-alpine3.8. But, on the current Dockerfile, the base image is python:3.6-alpine3.7 .
On the Docker image,
joyzoursky/python-chromedriver:3.7-alpine3.8-selenium
, the base image should bepython:3.7-alpine3.8
. But, on the current Dockerfile, the base image ispython:3.6-alpine3.7
.I modified Dockerfile like below.
Before:
After: