main updates added abillity to change port

This commit is contained in:
2023-11-12 06:52:19 -08:00
parent eeb018cfc0
commit fe49f1c654
4 changed files with 8 additions and 10 deletions

View File

@@ -2,8 +2,7 @@ FROM fithwum/debian-base:bullseye
LABEL maintainer "fithwum"
ENV ACCEPT_EULA=""
ENV GAME_PORT_TCP=""
ENV GAME_PORT_UDP=""
ENV GAME_PORT=""
ENV MC_VERSION=""
# URL's for files
@@ -27,8 +26,5 @@ RUN chmod +x /MCtemp/install_script.sh
# Directory where data is stored
VOLUME /MCserver
# 25565 Default.
EXPOSE 25565/udp 25565/tcp
# Run command
CMD [ "/bin/bash", "./MCtemp/install_script.sh" ]