dummy/Dockerfile

17 lines
234 B
Docker

ARG JAVA_VERSION=16
FROM openjdk:${JAVA_VERSION}
ENV MIN_MEM=512M
ENV MAX_MEM=1G
ENV STOP="stop"
ENV JAR=server.jar
COPY ./bin/main /main
COPY ./bin/cmd /usr/local/bin/cmd
EXPOSE 25565
VOLUME [ "/server" ]
ENTRYPOINT [ "/main" ]