From 3414afd095a3cfd383c11cbb1be2034ca92c4ad2 Mon Sep 17 00:00:00 2001 From: Shreyank Byadagi <57580641+shrunk3@users.noreply.github.com> Date: Thu, 1 Jul 2021 18:53:50 +0530 Subject: [PATCH] Update README.md Docker Readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6e0757654..a3a5cd2ba 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,20 @@ For connecting to server running elsewhere update the base API URL and/or tenant By default OAuth2 is disabled. To enable it, change the value of oauth.enabled property to true in the `environments/environment.ts` file and `environments/environment.prod.ts` file for development and production use respectively. +### Docker + + +To locally build this Docker image from source (after `git clone` this repo), run: +``` +docker build -t openmf/web-app:latest . +``` +You can then run a Docker Container from the image above like this: +``` +docker run -d -p 4200:80 openmf/web-app:latest +``` + +Access the webapp on http://localhost:4200 in your browser. + ## Want to help? [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/openMF/web-app/issues)