FROM alpine LABEL MAINTAINER="Lukáš Kucharczyk" RUN wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar RUN apk add openjdk11-jre COPY eula.txt / COPY server.properties / EXPOSE 25565 CMD ["java", "-Xmx1024M", "-Xms1024M", "-jar", "minecraft_server.jar", "nogui"]