From 24d08b4325ed86de52e9e8258cd504d5d994dde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vorburger=20=E2=9B=91=EF=B8=8F?= Date: Sat, 2 May 2020 20:29:32 +0200 Subject: [PATCH] add docker run from Hub doc to README --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1e5012d4..141a5f52 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,13 @@ grunt serve ``` ### Docker -To build a Docker image for the current repo, run: + +This project publishes a Docker image (since #[3112](https://github.com/openMF/community-app/issues/3112)) available on https://hub.docker.com/r/openmf/community-app/. Our [Dockerfile](Dockerfile) uses a Ruby and Node.JS base image to build the current repo and deploy the app on Nginx, which is exposed on port 80 within the container. It can be used like this to access the webapp on http://localhost:9090 in your browser: + + docker run --name community-app -it -p 9090:80 openmf/community-app + + +To locally build this Docker image from source (after `git clone` this repo), run: ``` docker build -t mifos-community-app . ``` @@ -146,10 +152,7 @@ docker run --name mifos-ui -it -d -p 80:80 mifos-community-app ``` Access the webapp on http://localhost in your browser. -The Dockerfile uses a ruby and node base image to build the current repo and deploys the app on nginx which is exposed -on port 80 within the container. -This Docker image is (since #[3112](https://github.com/openMF/community-app/issues/3112)) also available on https://hub.docker.com/r/openmf/community-app/. ### Compile sass to css