diff --git a/Dockerfile b/Dockerfile index 08b22f1..f1ab7b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,10 @@ EXPOSE 19005 $PORT_NUM COPY . /usr/src/server WORKDIR /usr/src/server +RUN chmod +x init.sh + +ENTRYPOINT "/bin/sh init.sh" $PORT_NUM $CS_NAME + RUN mkdir /data RUN mkdir /data/logs RUN mkdir /data/plugins