clarify docker build happens inside of the repo folder (#2807)
I intuited that this was the case, but being more explicit might help other docker newbies to understand what's happening.
This commit is contained in:
parent
1cb3d88e35
commit
838ab888db
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ The following flags can be passed to `cmake`:
|
||||||
A Dockerfile is provided to run Servatrice (the Cockatrice server) using [Docker](https://www.docker.com/what-docker).<br>
|
A Dockerfile is provided to run Servatrice (the Cockatrice server) using [Docker](https://www.docker.com/what-docker).<br>
|
||||||
|
|
||||||
You just need to create an image from the Dockerfile<br>
|
You just need to create an image from the Dockerfile<br>
|
||||||
|
`cd /path/to/Cockatrice-Repo/`
|
||||||
`docker build -t servatrice .`<br>
|
`docker build -t servatrice .`<br>
|
||||||
And then run it<br>
|
And then run it<br>
|
||||||
`docker run -i -p 4747:4747/tcp -t servatrice:latest`<br>
|
`docker run -i -p 4747:4747/tcp -t servatrice:latest`<br>
|
||||||
|
|
Loading…
Reference in a new issue