Skip to content

Commit

Permalink
Update docker doc
Browse files Browse the repository at this point in the history
  • Loading branch information
joodie committed May 31, 2024
1 parent 522087e commit 4c00826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ java -jar target/dil-demo.jar

## Docker builds

To build and run a docker image, do
To build and run a docker image locally, with the configuration environment vars in a `.env` file, and keys and certificates in `./credentials`, do

```sh
docker build . -t my-image
docker run --env-file=.env my-image
docker run --env-file=.env --mount="type=bind,source=${PWD}/credentials,destination=/credentials" -p8080:8080 my-image
```

The above assumes your environment variables are specified in `.env`
Expand Down

0 comments on commit 4c00826

Please sign in to comment.