Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update README.md
Add container example.
  • Loading branch information
spmfox authored Nov 12, 2020
commit 8acf56fc9cb6f84009dc8a4568caac060a8553fd
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,24 @@ covid ph --plain
covid help
```

### Local Command Line Tracker in Container
```bash
# Create build file
$ vim covid19-tracker-cli.containerfile
FROM docker.io/library/alpine
RUN apk update
RUN apk add git
RUN apk add npm
RUN git clone https://github.com/warengonzaga/covid19-tracker-cli.git
RUN cd covid19-tracker-cli && npm install && npm link

# Build container
$ podman build -t covid19-tracker-cli --file=covid19-tracker-cli.containerfile

# Run container
$ podman run -it --rm=true localhost/covid19-tracker-cli covid PH
```

## Official Blog

Many people asking me how to properly use my tracker. Here's the blog on [How to Track Coronavirus on Command Line](https://warengonza.ga/covid19-tracker-cli). If you have comments or suggestions please leave it on the comment section of the blog.
Expand Down