Skip to content
Snippets Groups Projects
Unverified Commit 7ce3b70c authored by Armin Co's avatar Armin Co
Browse files

Added script description

parent e290d7b7
No related branches found
No related tags found
No related merge requests found
...@@ -2,3 +2,20 @@ ...@@ -2,3 +2,20 @@
A script to build the mumble-web app in a docker image. 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment