robiningelbrecht/docker-browsershot

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 1

Forks: 2

Open Issues: 0

Language:Dockerfile

pkg:composer/robiningelbrecht/docker-browsershot

dev-master 2023-02-11 15:54 UTC

This package is auto-updated.

Last update: 2025-10-11 21:22:44 UTC


README

Docker

License

A docker container that allows you to use the 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