7 lines
295 B
Docker
7 lines
295 B
Docker
FROM alpine
|
|
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"] |