Remove content-fetch-gcf and create a Dockerfile for the cloud function

This commit is contained in:
Hongbo Wu
2022-10-07 18:42:01 +08:00
parent 623bb8780c
commit 00fed8a0fb
15 changed files with 82 additions and 187 deletions

View File

@ -4,13 +4,10 @@
"description": "Accepts URL of the article and parses its content",
"main": "index.js",
"dependencies": {
"@google-cloud/functions-framework": "^3.1.2",
"@google-cloud/logging-winston": "^5.1.1",
"@google-cloud/storage": "^5.18.1",
"@omnivore/content-handler": "1.0.0",
"@sentry/serverless": "^6.13.3",
"axios": "^0.27.2",
"chrome-aws-lambda": "^10.1.0",
"dotenv": "^8.2.0",
"jsonwebtoken": "^8.5.1",
"linkedom": "^0.14.9",
@ -18,8 +15,5 @@
"puppeteer-core": "^16.1.0",
"underscore": "^1.13.4",
"winston": "^3.3.3"
},
"scripts": {
"test": "yarn mocha"
}
}