Skip to content

Commit d9c9a55

Browse files
authored
docs: fix docker run command (#38)
1 parent 7c9bfd6 commit d9c9a55

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ You can download the latest release from the [Releases page](https://github.com/
2121

2222
### Docker Image
2323

24-
Alternatively, you can run the simulator using Docker (Note that the default directory is `/app`):
24+
Alternatively, you can run the simulator using Docker (assuming you have a
25+
`config.json` file in the current directory):
2526

26-
```bash
27-
docker run --rm -it -v ./config.json:/app/config.json jljl1337/blackjack-simulator:latest -config /path/to/config.json
27+
```sh
28+
docker run --rm -it -v ./config.json:/app/config.json jljl1337/blackjack-simulator
2829
```
2930

3031
## Usage
@@ -52,4 +53,5 @@ Sample configuration file can be found in the repository root as `config.json`.
5253
| `penetration` | `float64` | Shoe penetration percentage with a range of (0, 1]. Determines portion of the shoe that is dealt before reshuffling. |
5354

5455
> [!IMPORTANT]
55-
> The `numShuffles`, `numRounds`, and `numHands` fields are mutually exclusive, exactly one must be specified with a value greater than 0.
56+
> The `numShuffles`, `numRounds`, and `numHands` fields are mutually exclusive,
57+
> exactly one must be specified with a value greater than 0.

0 commit comments

Comments
 (0)