Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 878 Bytes

OVERVIEW-for-DockerHub.md

File metadata and controls

25 lines (15 loc) · 878 Bytes

johnfmorton/squoosh

This image contains an installation of Squoosh CLI.

Basic use

From the command line, navigate to the directory containing the images you want to compress. Then run the following command.

docker run --rm -it -v `pwd`:/app johnfmorton/squoosh

You will be presented with another command prompt from within the container. You can now execute a squoosh-cli command. For example:

squoosh-cli --webp auto *.png

Refer to the documentation for an exhaustive list of options for Squoosh CLI.

More information

See the GitHub repo for additional documentation on using this Dockerfile: https://github.com/johnfmorton/docker-squoosh-cli/

Where to file issues: https://github.com/johnfmorton/docker-squoosh-cli/issues