Skip to content

Commit

Permalink
cleanup docker image entrypoint and instructions
Browse files Browse the repository at this point in the history
Signed-off-by: 2byrds <[email protected]>
  • Loading branch information
2byrds committed Jun 22, 2024
1 parent d3b3ee8 commit 76d9a54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ All Agent db access is through the associated Agent.
make build-keria
```

#### Run with docker
* Specify an entrypoint with proper configuration, for instance if you want to use the demo-witness-oobis that is under the scripts/keri/cf dir:
```
ENTRYPOINT ["keria", "start", "--config-file", "demo-witness-oobis", "--config-dir", "./scripts"]
```
You can see a [working example here](https://github.com/WebOfTrust/signify-ts/blob/main/docker-compose.yaml).

### Running Tests

Expand Down
4 changes: 1 addition & 3 deletions images/keria.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ COPY . /usr/local/var/keria

WORKDIR /usr/local/var/keria

RUN pip install -r requirements.txt

ENTRYPOINT ["keria", "start", "--config-file", "demo-witness-oobis", "--config-dir", "./scripts"]
RUN pip install -r requirements.txt

0 comments on commit 76d9a54

Please sign in to comment.