Sign inSign up

gerardojunior/python-chromedriver

By gerardojunior

•Updated about 7 years ago

Environment of pyhton selenium scrapper

Image
0

275

gerardojunior/python-chromedriver repository overview

⁠Environment of pyhton selenium scrapper

    [+] AUTOR:        Gerardo Junior
    [+] SITE:         https://gerardo-junior.com
    [+] EMAIL:        [email protected]
    [+] GITHUB:       https://github.com/gerardo-junior/python-chromedriver-docker.git
    [+] TELEGRAM:     @MrGerardoJunior

Docker Automated build

Docker image to run chromedriver⁠ pyhton scrapper

The project must be in the /src container folder

⁠Tags available

⁠Come on, do your tests

docker pull gerardojunior/python-chromedriver:stable

⁠How to build

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

⁠How to use

⁠Only with docker command:
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/python-chromedriver:stable [command]

# or docker-compose
docker-compose run node [command]
⁠With docker-compose⁠

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

# (...)

⁠How to enter image shell

docker run -it --rm gerardojunior/python-chromedriver sh
# or with docker-compose
docker-compose run node sh
⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details

Tag summary

Content type

Image

Digest

Size

506.1 MB

Last updated

about 7 years ago

docker pull gerardojunior/python-chromedriver