Skip to content

Resizing Images with Amazon CloudFront & Lambda@Edge

Notifications You must be signed in to change notification settings

NathanKun/lambda-edge-image-resize

 
 

Repository files navigation

lambda-edge-image-resize

This is a modified version of Resizing Images with Amazon CloudFront & Lambda@Edge | AWS CDN Blog for my own use.

docker build --tag amazonlinux:nodejs . docker run --rm --volume ${PWD}/lambda/origin-response-function:/build amazonlinux:nodejs /bin/bash -c "source ~/.bashrc; npm init -f -y; npm install sharp --save; npm install --only=prod" zip contents in lambda\origin-response-function

About

Resizing Images with Amazon CloudFront & Lambda@Edge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.6%
  • Shell 8.5%
  • Dockerfile 5.9%