diff --git a/Dockerfile b/Dockerfile index 256554f..6073ab5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,16 @@ FROM node:14-slim AS base RUN apt-get update RUN apt-get full-upgrade -y -RUN apt-get install -y libasound2 +RUN apt-get install -y libasound2 iputils-ping curl gnupg1 apt-transport-https dirmngr + +# Speedtest utilities +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61 && \ + echo "deb https://ookla.bintray.com/debian generic main" | tee /etc/apt/sources.list.d/speedtest.list && \ + apt-get update && \ + apt-get install speedtest + RUN apt-get autoremove --purge -y RUN rm -rf /var/lib/apt/lists/* + # RUN mkdir /cores WORKDIR /app diff --git a/tsconfig.json b/tsconfig.json index cf353eb..1191c65 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -47,7 +47,7 @@ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ - "typeRoots": ["src/typings"], /* List of folders to include type definitions from. */ + "typeRoots": ["./src/typings"], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */