Public | Automated Build

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile for image-resizer

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

Docker Pull Command
Owner
wjordan