diff --git a/README.md b/README.md index 540223ab..44897e86 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/images/keria.dockerfile b/images/keria.dockerfile index 6f70f3b1..fa500481 100644 --- a/images/keria.dockerfile +++ b/images/keria.dockerfile @@ -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 \ No newline at end of file