summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-12-31 17:43:30 +0100
committertomsmeding <tom.smeding@gmail.com>2019-12-31 17:43:30 +0100
commitb41a370dfc8e602eca6c0b37a6eac22e8de8e1bb (patch)
treedd80af139e15a9db40ff7a769d170436bdd065d9 /Dockerfile
parent7c8541e4363dc82341bb9d7bd4afdd8b99e0edf4 (diff)
Docker-ready
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
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"]