Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vikashloomba/puppeteer-aws-lambda-docker
Puppeteer running in Docker on AWS Lambda
https://github.com/vikashloomba/puppeteer-aws-lambda-docker
aws-docker aws-lambda docker ecr-repositories headless lambda-deployment lambda-functions puppeteer puppeteer-lambda
Last synced: about 1 month ago
JSON representation
Puppeteer running in Docker on AWS Lambda
- Host: GitHub
- URL: https://github.com/vikashloomba/puppeteer-aws-lambda-docker
- Owner: VikashLoomba
- License: apache-2.0
- Created: 2020-12-15T00:51:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T22:28:12.000Z (over 3 years ago)
- Last Synced: 2024-11-22T06:15:25.706Z (about 1 month ago)
- Topics: aws-docker, aws-lambda, docker, ecr-repositories, headless, lambda-deployment, lambda-functions, puppeteer, puppeteer-lambda
- Language: JavaScript
- Homepage: https://vikashloomba.github.io/AWS-Lambda-Docker/
- Size: 3.1 MB
- Stars: 25
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This repo contains the code needed to run Puppeteer on Lambda with a Docker Container. Just build and tag the image, upload to ECR, create a new lambda function with the image with an API Gateway (HTTP), and in the lambda console choose the latest image for deployment.
For more setup instructions, please see [Setup Instructions](https://vikashloomba.github.io/AWS-Lambda-Docker/) and [here](https://link.medium.com/1iB5MeXJfcb)
The /app directory contains the puppeteer code, which you can edit as needed. The Dockerfile installs and updates dependencies for the node lambda runtime, npm dependencies, as well as chromium.