From 7c4cacfa07ca205be09a6bfd270767da68aca145 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Fri, 2 Dec 2022 16:32:28 +0100 Subject: [PATCH] Fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b8619c..f9b69f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,14 +7,14 @@ RUN mkdir jar bundle workdir ADD $RUNNABLE_SERVER_JAR jar/paper.jar -RUN java -DbundlerRepoDir=/data/bundle -Dpaperclip.patchonly=true -jar +RUN java -DbundlerRepoDir=/data/bundle -Dpaperclip.patchonly=true -jar /data/jar/paper.jar ENV MAXMEM=1024M EXPOSE 25565 VOLUME /data/workdir -WORKDIR workdir +WORKDIR /data/workdir CMD java -Xmx$MAXMEM -XX:+UseG1GC -XX:+ParallelRefProcEnabled \ -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions \ -XX:G1ReservePercent=15 -XX:G1NewSizePercent=20 -XX:G1MaxNewSizePercent=30 \