feat: add docker compose

This commit is contained in:
Sidharth Vinod
2021-09-25 12:35:37 +05:30
parent 15ad228b6e
commit a2084bbf42
7 changed files with 52 additions and 7 deletions
+8
View File
@@ -21,10 +21,18 @@ You can try out a live version [here](https://mermaid.live/).
## Docker
### Run published image
```bash
docker run --publish 8000:80 ghcr.io/mermaid-js/mermaid-live-editor
```
### Development
```bash
docker compose up --build
```
Then open http://localhost:8000
## Setup