Skip to content

lgualtieri75/dockerfile-image-resizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runs image-resizer in Docker on Alpine Linux.

Usage

Run the Docker image, publish port 3001 and provide configuration via environment variables:

$ docker run --rm -ti \
  --name image-server \
  -p 3001:3001 \
  -e DEFAULT_SOURCE=wikipedia \
  wjordan/image-resizer

You can also run as a daemon (replace --rm -ti with -d), then use docker logs -f image-server to watch the log output on-demand.

Request an image-resizer url from your browser, e.g., http://localhost:3001/h200-cfit/commons/c/c4/Louis_Armstrong2.jpg.

See the documentation for image-resizer for additional environment variables and API usage.

License

Licensed under MIT

About

Docker image for jimmynicol/image-resizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.1%
  • Shell 26.9%