-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
Alejandro-BR edited this page Apr 17, 2026
·
2 revisions
Official Docker image for Webpify CLI.
Webpify converts PNG, JPG, HEIC, and HEIF images to WebP.
This Docker image runs the CLI in Docker, respecting its original behavior.
docker pull alejandrobr/webpify:latestImportant
Interactive mode will not work inside a container.
When using Docker, you must use either --auto or --input.
You can pull and run the Webpify Docker image directly from Docker Hub.
docker pull alejandrobr/webpify:latestdocker run --rm -v $(pwd):/work alejandrobr/webpify:latest --auto-
/workmaps to your current folder on the host. - Automatically converts all supported images in the current folder.
docker run --rm \
-v /path/to/images:/input \
-v /path/to/output:/output \
alejandrobr/webpify:latest \
--input /input \
--output /output- Input folder
/inputmaps to/path/to/imageson your computer. - Output folder
/outputmaps to/path/to/output. - Fully automatic conversion without prompts.
If you build a new image locally and want to push it to Docker Hub:
docker build -t alejandrobr/webpify:latest .
docker push alejandrobr/webpify:latest-
latestwill always point to the newest build of your Docker image.
- This image always installs the latest version of
webpify-clifrom npm. - Runs in non-interactive mode when using
--autoor--input. - Ideal for CI/CD pipelines, scripts, or any automated workflow.
- For interactive use, you can omit flags, but Docker won't provide a terminal prompt by default.
npm · GitHub · Docker Hub · MIT License © 2025-2026 Alejandro-BR