diff --git a/server/Dockerfile b/server/Dockerfile index 7239f1c..b3d2357 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -3,7 +3,7 @@ # https://github.com/GoogleChrome/puppeteer/issues/379 # when ^ gets resolved we'll go to alpine based image (node:8-alpine) # using node 8 instead of 9 because 8 is in LTS (https://github.com/nodejs/Release) -FROM node:8-slim +FROM node:10.6.0-slim WORKDIR /app diff --git a/server/package.json b/server/package.json index 5a41728..4153503 100644 --- a/server/package.json +++ b/server/package.json @@ -20,13 +20,13 @@ "@types/express": "4.0.39", "@types/mocha": "2.2.44", "@types/node": "8.0.57", - "@types/puppeteer": "0.13.7", + "@types/puppeteer": "1.6.0", "awesome-typescript-loader": "3.4.1", "express": "4.16.2", "express-rate-limit": "2.9.0", - "puppeteer": "0.13.0", + "puppeteer": "1.6.2", "sleep-promise": "2.0.0", - "typescript": "2.6.2" + "typescript": "2.8" }, "devDependencies": { "@types/chai": "4.0.10", diff --git a/server/tsconfig.json b/server/tsconfig.json index 3af34fa..e82cd7a 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -5,7 +5,7 @@ "noImplicitReturns": true, "target": "es2015", "module": "commonjs", - "lib": [ "es2017" ], + "lib": ["dom", "es2017" ], "noFallthroughCasesInSwitch": true, "strictNullChecks": true, "moduleResolution": "node",