Beecom Image optimization docker
265
Beecom Image optimization app and docker
# install dependencies
$ npm install
# run optimalization
$ npm run start
Visit our official dockerhub page
docker pull beecomprg/docker-image-optim:latest
Create a .env file and set directory:
# directory where to look for images
DIRECTORY=./images/
# gutzli produce best compression but is about 100x slower
USE_GUETZLI=0
# maximum number of images to process in one run
BATCH_SIZE=5000
# level of verbosity
# 0 - only ERR
# 1 - including WARN and INFO
VERBOSE=0
The following table lists the environement variables that beecom-image-optim application expects and their default values.
| Parameter | Description | Default |
|---|---|---|
DIRECTORY | Directory where to look for images | '' |
USE_GUETZLI | Enable Guetzli | 0 |
BATCH_SIZE | Number of images to process | 1000 |
VERBOSE | Level of verbosity | 0 |
Content type
Image
Digest
Size
44.8 MB
Last updated
about 6 years ago
docker pull beecomprg/docker-image-optim