Skip to content

Commit

Permalink
fix: update container entrypoint and docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
neverbot committed May 26, 2024
1 parent 3719060 commit aa8de66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /opt/mud/hexagon
RUN mv .config.dgd ../bin/config.dgd
RUN chmod +x start.sh

ENTRYPOINT ./start.sh & /bin/bash
ENTRYPOINT ./start.sh

# expose telnet mudos port
EXPOSE 5000/tcp
6 changes: 3 additions & 3 deletions docs/install/docker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ And having access to some kind of command-line terminal.

2. Run the container in background:

`docker run --rm -td -p 23:5000 ghcr.io/maldorne/hexagon:latest`
`docker run --rm -d -p 23:5000 --name hexagon ghcr.io/maldorne/hexagon:latest`

Or run the container in interactive mode:
3. Connect to the container if needed:

`docker run --rm -ti -p 23:5000 ghcr.io/maldorne/hexagon:latest`
`docker exec -it hexagon bash`

If you make changes to the image, push it after building it:

Expand Down

0 comments on commit aa8de66

Please sign in to comment.