From b41a370dfc8e602eca6c0b37a6eac22e8de8e1bb Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 31 Dec 2019 17:43:30 +0100 Subject: Docker-ready --- .dockerignore | 1 + Dockerfile | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..802b0c0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +persist diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2b38630 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.11 + +RUN apk add --no-cache nodejs npm + +WORKDIR /webserver +COPY . . +RUN npm install + +ENTRYPOINT ["./webserver.js"] -- cgit v1.2.3-70-g09d2