This is an example for setting up a python script with Docker. This includes Selenium and Headless Chrome.
You can build this docker instance with the following command:
docker build -t buyer-resist .
You can run the script using:
docker run --rm -t buyer-resist run.py