From bc8474ec9bcd7d43f598a4dad1e2018c577f1dc9 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Mon, 28 Nov 2022 16:05:08 -0700 Subject: [PATCH] update readme --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 971191b..2adaa91 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,13 @@ # How to interact with stockfish running in docker -Create a file called `stockfish` with the following contents: +Build the container `stockfish:15`: + +```sh +make build +``` + +Create a file called `stockfish` with the following contents (one is included in this repo): ```sh #!/bin/sh @@ -16,7 +22,7 @@ chmod +x stockfish Now you can run the following to start stockfish: ``` -docker run -d --rm --name stockfish -p 23249:23249 -p 23250:23250 -v $(pwd):/stockfish:ro -w /stockfish stockfish +make start ``` This will start a stockfish instance that will listen on port 23249 for commands.