Skip to content

Commit 2da66dd

Browse files
committed
installing puppeteer manually
1 parent c3e7b97 commit 2da66dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ COPY node_modules ${FUNCTION_DIR}/node_modules
4949

5050
WORKDIR ${FUNCTION_DIR}
5151

52+
RUN npm install puppeteer
53+
5254
ENTRYPOINT ["/usr/local/bin/npx", "aws-lambda-ric"]
5355
CMD [ "index.handler" ]

src/SaveUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class SaveUrl {
8585
console.log(`Received URL: ${url}`);
8686

8787
const browser = await puppeteer.launch({
88-
executablePath,
88+
// executablePath,
8989
userDataDir: "/tmp",
9090
// dumpio: true,
9191
args: options

0 commit comments

Comments
 (0)