updates and testing

This commit is contained in:
2023-11-11 20:26:19 -08:00
parent 669fd75733
commit 4d1ee6cada
5 changed files with 156 additions and 4 deletions

View File

@@ -3,7 +3,8 @@ LABEL maintainer "fithwum"
# Environment Variables
ENV ACCEPT_EULA=""
ENV GAME_PORT=""
ENV GAME_PORT_TCP=""
ENV GAME_PORT_UDP=""
ENV MC_VERSION=""
ENV FABRIC_VERSION=""
ENV INSTALLER_VERSION=""
@@ -30,7 +31,7 @@ RUN chmod +x /MCtemp/install_script.sh
VOLUME /MCserver
# 25565 Default.
EXPOSE 25565/udp 25565/tcp
EXPOSE $GAME_PORT_UDP/udp $GAME_PORT_TCP/tcp
# Run command
CMD [ "/bin/bash", "./MCtemp/install_script.sh" ]