summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dockerignore1
-rw-r--r--Dockerfile9
2 files changed, 10 insertions, 0 deletions
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"]