Skip to content

dvir-pashut/web-screenshot-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-screenshot-docker-image

CI

"web-screenshot-docker-image" is a repository that contains the Dockerfile and the nessesery files to create the screenshot docker image

Usage

of course you should start by making sure that you have docker installed (daaaa). if not, refer to docker docomentations.

then run

docker pull dvir33/screenshot

this will grab you that latest version of the docker image

if you want a specific version you can go check the repository here

and then run

docker pull dvir33/screenshot:<your chosen tag goes here>

then run the docker image with the following command

docker run --rm  -it -v $(pwd)/image:/app/image dvir33/screenshot  <your full URL goes here>

example

docker run --rm  -it -v $(pwd)/image:/app/image dvir33/screenshot  https://justdvir.online

this will create a new folder called image and the screenshot will be there

Extra

in case you want to build or modify for yourself

first clone the repo

git clone https://github.com/dvir-pashut/web-screenshot-docker-image.git
cd web-screenshot-docker-image

build the docker image

docker build -t screenshot:test .

and then run it

docker run --rm  -it -v $(pwd)/image:/app/image screenshot:test  <your full URL goes here>

and that should do it!!!!!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

no license!!!!!!!!!!!

free software