OpsIG_MinecraftServer/Dockerfile

13 lines
332 B
Docker
Raw Normal View History

2023-02-13 20:37:11 -05:00
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