master
EspiDev 7 years ago
parent ea26246013
commit 463452bb75

@ -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

@ -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

Loading…
Cancel
Save