Skip to content

Commit

Permalink
Merge pull request #111 from ThePaulo1/expose-docker-port
Browse files Browse the repository at this point in the history
expose docker container port
  • Loading branch information
Snowiiii authored Oct 8, 2024
2 parents 2194f14 + ac4223f commit fb5171b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ FROM alpine:3.20
WORKDIR /pumpkin
RUN apk add --no-cache libgcc
COPY --from=builder /pumpkin/target/release/pumpkin /pumpkin/pumpkin
EXPOSE 25565
ENTRYPOINT ["/pumpkin/pumpkin"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ docker build . -t pumpkin
To run it use the following command:

```shell
docker run --rm -v "./world:/pumpkin/world" pumpkin
docker run --rm -p 25565:25565 -v "./world:/pumpkin/world" pumpkin
```

## Contributions
Expand Down

0 comments on commit fb5171b

Please sign in to comment.