From 816a2bbb74844392877f9cd895b77632ff7bee30 Mon Sep 17 00:00:00 2001
From: Armin <armin.co@gmx.de>
Date: Mon, 8 Jun 2020 14:43:50 +0200
Subject: [PATCH] Added Dockerfile

Dockerfile for image in which the app is build.
---
 Dockerfile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e728db0
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM alpine:edge
+
+LABEL maintainer="Armin Co <armin.co@hs-bochum.de"
+
+# copy mumble-web repository into docker image
+COPY ./mumble-web /home/node
+
+# install git and npm
+RUN apk add --no-cache git npm 
+
+# "install" mumble-web
+RUN cd /home/node   && \
+    npm install     && \
+    npm run build   && \
+    npm audit fix   && \
+    npm audit
-- 
GitLab