13 lines
332 B
Docker
13 lines
332 B
Docker
FROM debian:latest
|
|
|
|
RUN apt-get update && apt-get install -y curl openjdk-17-jdk
|
|
|
|
RUN mkdir -p /minecraft
|
|
WORKDIR /minecraft
|
|
|
|
RUN curl -LOJ https://piston-data.mojang.com/v1/objects/c9df48efed58511cdd0213c56b9013a7b5c9ac1f/server.jar
|
|
|
|
RUN echo "eula=true" > eula.txt
|
|
|
|
CMD java -Xmx15000M -Xms15000M -jar /minecraft/server.jar nogui
|