From 2052c38735b6da6ca43cd2e71b1addb85820de6a Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Mon, 9 Dec 2019 14:51:54 +0800 Subject: [PATCH] Update base image to fix security vulnerabilities. (#57) * Update base image to fix security vulnerabilities. * Fix autorest issue --- Dockerfile | 2 +- sdk/src/typescript/{lib => src}/index.ts | 0 sdk/src/typescript/tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename sdk/src/typescript/{lib => src}/index.ts (100%) diff --git a/Dockerfile b/Dockerfile index 5b8d9b5..5e1e68c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10 +FROM node:12-alpine EXPOSE 3009 diff --git a/sdk/src/typescript/lib/index.ts b/sdk/src/typescript/src/index.ts similarity index 100% rename from sdk/src/typescript/lib/index.ts rename to sdk/src/typescript/src/index.ts diff --git a/sdk/src/typescript/tsconfig.json b/sdk/src/typescript/tsconfig.json index 51ea909..87bbf5b 100644 --- a/sdk/src/typescript/tsconfig.json +++ b/sdk/src/typescript/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*.ts"], + "include": ["./src/**/*.ts"], "exclude": ["node_modules"] }