fix ports expose

This commit is contained in:
Bob
2024-07-10 21:54:48 -07:00
parent d385ca64a0
commit 72541c3933
2 changed files with 3 additions and 2 deletions

View File

@@ -4,8 +4,9 @@ RUN npm i holesail -g
ENV MODE client
ENV HOST 0.0.0.0
ENV PORT 8989
EXPOSE 8989
EXPOSE $PORT
ENTRYPOINT sh -c ' \
if [ "$MODE" = "server" ]; then \

View File

@@ -20,7 +20,7 @@ services:
restart: unless-stopped
build: .
ports:
- 25565:8989
- 25565:25565
environment:
MODE: server # defaults to client
PORT: 25565