From dacca8575cb38695b39dc9e885685e6ef16ae62f Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 1 Jan 2020 11:38:47 +0100 Subject: server: Add Dockerfile --- server/.dockerignore | 2 ++ server/Dockerfile | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 server/.dockerignore create mode 100644 server/Dockerfile (limited to 'server') diff --git a/server/.dockerignore b/server/.dockerignore new file mode 100644 index 0000000..536bffa --- /dev/null +++ b/server/.dockerignore @@ -0,0 +1,2 @@ +/images +/persist diff --git a/server/Dockerfile b/server/Dockerfile new file mode 100644 index 0000000..b60b0b8 --- /dev/null +++ b/server/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine:3.11 + +RUN apk add --no-cache nodejs npm + +WORKDIR /serverstore +COPY . . +RUN npm install + +ENTRYPOINT ["./serverstore.js"] -- cgit v1.2.3-70-g09d2