https://github.com/robiningelbrecht/docker-browsershot
A docker container that allows you to use the Spatie\Browsershot package
https://github.com/robiningelbrecht/docker-browsershot
Last synced: 3 months ago
JSON representation
A docker container that allows you to use the Spatie\Browsershot package
- Host: GitHub
- URL: https://github.com/robiningelbrecht/docker-browsershot
- Owner: robiningelbrecht
- License: mit
- Created: 2022-07-19T18:11:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-29T11:53:23.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T00:03:17.108Z (about 1 year ago)
- Language: Dockerfile
- Size: 33.2 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker container for Spatie's Browsershot
------
A docker container that allows you to use the [Spatie\Browsershot](https://github.com/spatie/browsershot) package. Currently it requires `^php8.1`, feel free to fork and change. Consider giving it a ⭐ when you do.
## Installation & usage
* Clone this repository `git clone git@github.com:robiningelbrecht/docker-browsershot.git`
* Run `docker-compose up -d --build` to spin up and build the required container
* Run `docker-compose run --rm php-cli composer install` to install PHP dependencies
* Run `docker-compose run --rm php-cli npm install` to install Node dependencies
* Run the example by executing `docker-compose run --rm php-cli php example.php`