FROM frolvlad/alpine-oraclejdk8 MAINTAINER EstiNet ARG PORT_NUM ENV PORT_NUM ${PORT_NUM:-10200} ARG CS_NAME ENV CS_NAME ${CS_NAME:-FusionPlay1} EXPOSE 19005 $PORT_NUM COPY . /usr/src/server WORKDIR /usr/src/server RUN chmod +x init.sh ENTRYPOINT exec ./init.sh $PORT_NUM $CS_NAME RUN mkdir /data RUN mkdir /data/logs RUN mkdir /data/plugins CMD exec ./esticonsole