Skip to content
Alejandro-BR edited this page Apr 17, 2026 · 2 revisions

Webpify Docker

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 Version Docker Pulls Docker Stars

🐳 Docker Usage

docker pull alejandrobr/webpify:latest

Important

Interactive mode will not work inside a container.

When using Docker, you must use either --auto or --input.

🚀 Quick Start with Docker Hub

You can pull and run the Webpify Docker image directly from Docker Hub.

1️⃣ Pull the image

docker pull alejandrobr/webpify:latest

2️⃣ Run in automatic mode (current directory)

docker run --rm -v $(pwd):/work alejandrobr/webpify:latest --auto
  • /work maps to your current folder on the host.
  • Automatically converts all supported images in the current folder.

3️⃣ Run with custom input/output folders

docker run --rm \
  -v /path/to/images:/input \
  -v /path/to/output:/output \
  alejandrobr/webpify:latest \
  --input /input \
  --output /output
  • Input folder /input maps to /path/to/images on your computer.
  • Output folder /output maps to /path/to/output.
  • Fully automatic conversion without prompts.

4️⃣ Push your own changes (for contributors / CI)

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
  • latest will always point to the newest build of your Docker image.

ℹ️ Notes for Users

  • This image always installs the latest version of webpify-cli from npm.
  • Runs in non-interactive mode when using --auto or --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.

Clone this wiki locally