Skip to content

Commit

Permalink
Add docker build example to README
Browse files Browse the repository at this point in the history
Now that we use build arguments, people might like an example command.
  • Loading branch information
marohrdanz committed Oct 17, 2023
1 parent e6524b5 commit cf93b25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ This [demo video](https://youtu.be/DuObpGNpDhw) quickly demonstrates the viewer'

The project [homepage](https://bioinformatics.mdanderson.org/main/NG-CHM-V2:Overview)
includes additional documentation, introductory videos, and tutorials.

To build image:

```bash
docker build \
--build-arg="GIT_COMMIT=$(git rev-parse --short HEAD)" \
--build-arg="GIT_LATEST_TAG=$(git describe --tags --abbrev=0)" \
-t ngchm:latest .
```

0 comments on commit cf93b25

Please sign in to comment.