Skip to content

Commit

Permalink
Docs (readme): Fix references to build Dockerfile (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh authored Sep 10, 2023
1 parent a5976e1 commit 28892d7
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 @@ -181,13 +181,13 @@ The following are some guidelines on usage of the provided images with `docker`.

#### ENTRYPOINT and CMD

The default `ENTRYPOINT` for all game images is [`"bash", "-c"`](build/Dockerfile#L107), and the `CMD` is [`""`](build/Dockerfile#L108). These values allow a string of initialization commands to be executed before invocation of the game binary, similar to what is commonly achieved with `docker-entrypoint.sh`, or through [multi-line commands](docs/samples/docker-compose/docker-compose.bash-c.yml#L13-L18) in container manifests.
The default `ENTRYPOINT` for all game images is [`"bash", "-c"`](build/Dockerfile#L114), and the `CMD` is [`""`](build/Dockerfile#L115). These values allow a string of initialization commands to be executed before invocation of the game binary, similar to what is commonly achieved with `docker-entrypoint.sh`, or through [multi-line commands](docs/samples/docker-compose/docker-compose.bash-c.yml#L13-L18) in container manifests.

While the default values may not always be intuitive, they can be overridden with the `docker run` `--entrypoint` parameter, or through their respective [configuration options](docs/samples/docker-compose/docker-compose.binary.yml#L10-L13) in container manifests. Alternatively, they can be modified with custom built images.

#### WORKDIR

The default [work directory](build/Dockerfile#L105) for all the images is [`/server`](build/Dockerfile#L7) within which all of a game's files reside.
The default [work directory](build/Dockerfile#L112) for all the images is [`/server`](build/Dockerfile#L7) within which all of a game's files reside.

#### Starting

Expand Down

0 comments on commit 28892d7

Please sign in to comment.