kosta1221 / puppeteer-in-lambda-container-demo Goto Github PK
View Code? Open in Web Editor NEWSource code for my medium article about running puppeteer in a container function.
Source code for my medium article about running puppeteer in a container function.
Just would like to say Thank you for this repo! I spent 3 days to trying run simple code on puppeteer on AWS lambda and only your article on Medium worked like a charm!
Not sure, is it a bug or something was changed from aws side for last year, but your docker did not worked from the box in my case. The reason was in last CMD call. Worked for me :
#CMD [ "index.lambdaHandler" ]
ENTRYPOINT ["/lambda-entrypoint.sh", "/var/task/index.lambdaHandler"]
also, commented :
//waitUntil: ["networkidle2"],
//timeout: 20000,
as lambda hangs with it.
But maybe it is because I am deploying from visual studio and used C# project as type of project. if you can confirm, that your version is till works fine for you - will be great.
Anyway, all other stuff works fine. Have a good day!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.