fix build

master
EspiDev 7 years ago
parent c8488fd3af
commit b9ec5c3296

@ -13,8 +13,7 @@ EXPOSE 19005 $PORT_NUM
COPY . /usr/src/server
WORKDIR /usr/src/server
RUN echo server-port=$PORT_NUM >> server.properties
RUN echo " Name: $CS_NAME" >> plugins/gFeatures/Config.yml
ENTRYPOINT ["/init.sh", $PORT_NUM, $CS_NAME]
RUN mkdir /data
RUN mkdir /data/logs

@ -0,0 +1,5 @@
#!/bin/sh
PORT_NUM=$1
CS_NAME=$2
echo server-port=$PORT_NUM >> server.properties
echo " Name: $CS_NAME" >> plugins/gFeatures/Config.yml
Loading…
Cancel
Save