Browse Source

Clean up

master
David Ludwig 4 years ago
parent
commit
a0c3dec60d
2 changed files with 10 additions and 2 deletions
  1. +9
    -1
      Dockerfile
  2. +1
    -1
      tsconfig.json

+ 9
- 1
Dockerfile View File

@ -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

+ 1
- 1
tsconfig.json View File

@ -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'. */


Loading…
Cancel
Save