From 463452bb75fc6ccf0015f3106f81c36785915cd3 Mon Sep 17 00:00:00 2001 From: EspiDev Date: Sat, 12 May 2018 19:37:17 -0400 Subject: [PATCH] env --- Dockerfile | 2 +- init.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed18f02..f281d5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ WORKDIR /usr/src/server RUN chmod +x init.sh -ENTRYPOINT exec ./init.sh $PORT_NUM $CS_NAME +ENTRYPOINT ["./init.sh"] RUN mkdir /data RUN mkdir /data/logs diff --git a/init.sh b/init.sh index 2187428..770fdec 100755 --- a/init.sh +++ b/init.sh @@ -1,6 +1,4 @@ #!/bin/sh -PORT_NUM=$1 -CS_NAME=$2 if [ ! -f "init.lock" ]; then echo server-port=$PORT_NUM >> server.properties echo " Name: $CS_NAME" >> plugins/gFeatures/Config.yml