A dockerized version of optipng
218
docker build . -t froulet/docker-optipng-alpine
You have to mount the folder containing the image into /app directory. Example :
docker run --rm -it -v $(pwd):/app -w /app froulet/docker-optipng-alpine optipng -o5 image.png
You have to mount the image file as a volume :
docker run --rm -it -v /absolute/path/to/image/file.png:/app/image -w /app froulet/docker-optipng-alpine optipng -o5 image
If you run the container without any option help will be show.
docker run --rm -it froulet/docker-optipng-alpine optipng
If you have any problems with or questions about this Docker image, please contact me through a Github issue.
Content type
Image
Digest
Size
3.3 MB
Last updated
over 8 years ago
docker pull froulet/docker-optipng-alpine