diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..a4708398 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +node_modules +coverage +dist +.vscode +typings diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..5cf9af20 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM node:12-alpine + +WORKDIR /src/app + +RUN apk update &&\ + apk upgrade &&\ + apk add python make g++ + +COPY ./package.json ./yarn.lock ./ + +RUN ["yarn", "install", "--frozen-lockfile"]