Switched back to using the default executable name.

This commit is contained in:
surrealtm
2025-08-22 22:49:15 +02:00
parent 0e3ba7ab8a
commit 35939f1eaf
3 changed files with 4 additions and 6 deletions

View File

@@ -5,9 +5,6 @@ FROM debian:12.11-slim
ARG SERVER_VERSION
ARG SERVER_PORT
# This one is used at run-time
ENV SERVER_VERSION ${SERVER_VERSION}
RUN apt-get update && apt-get install -y wget
ENV MAX_LOGS="20"
@@ -22,8 +19,9 @@ COPY ./scripts/download_server.sh ./
COPY ./scripts/server_script.sh ./
RUN chmod 777 ./*.sh
RUN echo Building glassminers sever $SERVER_VERSION
RUN ./download_server.sh $SERVER_VERSION
CMD ./server_script.sh ${SERVER_VERSION}
CMD [ "./server_script.sh" ]
EXPOSE $SERVER_PORT