From 7ce3b70c30a12fe13b5f149d7fb82f97e37c8601 Mon Sep 17 00:00:00 2001
From: Armin <armin.co@gmx.de>
Date: Mon, 8 Jun 2020 16:29:35 +0200
Subject: [PATCH] Added script description

---
 README.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/README.md b/README.md
index aac4910..7d58dcc 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,20 @@
 
 A script to build the mumble-web app in a docker image.
 
+The script will clone the [mumble-web](https://github.com/Johni0702/mumble-web) repository.
+If the repository already was cloned it will pull the latest commits.
+Afterwards the docker image, defined in the [Dockerfile](https://gitlab.cvh-server.de/aco/build-mumble-web/-/blob/master/Dockerfile), will be build.
+
+**Dockerfile**
+
+  - alpine:edge
+  - copy content of repository into image
+  - install git and npm
+  - npm: install, run build, audit fix, audit
+
+The image contains the generated files of the app, which can be published by a webserver.
+To copy these files out of the image it is necessary to create a container out of this image.
+Therefore the command 'docker create' needs to be executed.
+Afterwards the directory can be copied with 'docker cp'.
+
+The container and the image are not longer needed, so they will be removed at the end.
\ No newline at end of file
-- 
GitLab