Updated Dockerfile and doc

This commit is contained in:
Fabio Bas 2016-04-11 18:51:44 +02:00
parent 4f30b5cd31
commit a72f9af984
3 changed files with 13 additions and 10 deletions

View file

@ -93,8 +93,15 @@ The following flags can be passed to `cmake`:
- `-DTEST=1` Enable regression tests (default 0 = no). Note: needs googletest, will be downloaded on the fly if unavailable. To run tests: ```make test```.
#### Building servatrice Docker container
`docker build -t servatrice .`<br>
#### Servatrice Docker container
A Dockerfile is provided to run Servatrice (the Cockatrice server) using [Docker](https://www.docker.com/what-docker).
You just need to create an image from the Dockerfile
`docker build -t servatrice .`
And then run it
`docker run -i -p 4747:4747/tcp -t servatrice:latest`
Please note that running this command will expose the TCP port 4747 of the docker container to permit connections to the server.
<br>
# Running