mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:46:55 +00:00
add docker run from Hub doc to README
This commit is contained in:
parent
af6fc237f4
commit
24d08b4325
11
README.md
11
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user