FROM adoptopenjdk/openjdk11-openj9 MAINTAINER EstiNet ARG PORT_NUM ENV PORT_NUM ${PORT_NUM:-25565} EXPOSE 19005 $PORT_NUM COPY . /usr/src/server WORKDIR /usr/src/server RUN echo server-port=$PORT_NUM >> server.properties RUN mkdir /data RUN mkdir /data/logs CMD exec ./esticonsole