Dockerfile for NodeJS Image server
Installs the Image-Resizer server with all dependencies. This docker image is based on the libvips image created by Marc Bachmann.
Run it using:
$ docker run -d -p 8090:8080 \
--name=<YOUR CONTAINER NAME> \
-e AWS_ACCESS_KEY_ID=<INSERT HERE> \
-e AWS_SECRET_ACCESS_KEY=<INSERT HERE> \
-e AWS_REGION=<INSERT HERE> \
-e S3_BUCKET=<INSERT HERE> \
-e TWITTER_CONSUMER_KEY=<INSERT HERE> \
-e TWITTER_CONSUMER_SECRET=<INSERT HERE> \
-e TWITTER_ACCESS_TOKEN=<INSERT HERE> \
-e TWITTER_ACCESS_TOKEN_SECRET=<INSERT HERE> \
-e SOCIAL_IMAGE_EXPIRY=86400 \
-e IMAGE_EXPIRY=2592000 \
-e IMAGE_EXPIRY_SHORT=86400 \
-e JSON_EXPIRY=2592000 \
risul/node-image-server:latest
More info about the environment variables
Licensed under MIT