From a77ebb25047a7303fd34ff0a51fb8265ee2c0822 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Sun, 6 Nov 2022 19:08:12 +0100 Subject: [PATCH] Add Dockerfile --- .dockerignore | 2 ++ Dockerfile | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..60b028c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +.gitignore \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9694466 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM node:lts-alpine +WORKDIR /app +COPY package.json package-lock.json ./ +RUN npm ci +COPY . . +CMD node index.mjs \ No newline at end of file