Environment of pyhton selenium scrapper
275
[+] AUTOR: Gerardo Junior
[+] SITE: https://gerardo-junior.com
[+] EMAIL: [email protected]
[+] GITHUB: https://github.com/gerardo-junior/python-chromedriver-docker.git
[+] TELEGRAM: @MrGerardoJunior
Docker image to run chromedriver pyhton scrapper
The project must be in the /src container folder
docker pull gerardojunior/python-chromedriver:stable
to build the image you need install the docker engine only
You can try building with different versions of software with docker args, for example: PYTHON_ENV=3.6
docker build https://github.com/gerardo-junior/python-chromedriver-docker.git --tag gerardojunior/python-chromedriver
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/python-chromedriver:stable [command]
# or docker-compose
docker-compose run node [command]
Create the docker-compose.yml file in your project folder with:
# (...)
node:
image: gerardojunior/python-chromedriver:stable
restart: on-failure
volumes:
- type: bind
source: ./
target: /src
#command: dev
# (...)
docker run -it --rm gerardojunior/python-chromedriver sh
# or with docker-compose
docker-compose run node sh
This project is licensed under the MIT License - see the LICENSE file for details
Content type
Image
Digest
Size
506.1 MB
Last updated
about 7 years ago
docker pull gerardojunior/python-chromedriver