summaryrefslogtreecommitdiff
path: root/server/Dockerfile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2020-01-01 11:38:47 +0100
committertomsmeding <tom.smeding@gmail.com>2020-01-01 11:51:52 +0100
commitdacca8575cb38695b39dc9e885685e6ef16ae62f (patch)
treef9d91470a202735fdb99170286f76ab142762d26 /server/Dockerfile
parent755ca86c546e179c17c23135df0961cd7619e549 (diff)
server: Add Dockerfile
Diffstat (limited to 'server/Dockerfile')
-rw-r--r--server/Dockerfile9
1 files changed, 9 insertions, 0 deletions
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"]