You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
289 B
Docker

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