From 28b5b3e02ab831743d1b2071f09c393d80cc5aef Mon Sep 17 00:00:00 2001 From: Phillip Schichtel Date: Thu, 5 Oct 2023 00:23:32 +0200 Subject: [PATCH] copy the jar last for more speed --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9127cff..d35e6e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,8 +39,6 @@ RUN curl -sLo /tmp/profiler.tar.gz "https://github.com/jvm-profiling-tools/async && mv /opt/async-profiler* /opt/async-profiler \ && ln -s /opt/async-profiler/profiler.sh /usr/local/bin/async-profiler -COPY sponge.jar /sponge.jar - COPY --from=mcrcon /mcrcon /opt/mcrcon COPY mcrcon.sh /usr/local/bin/mcrcon @@ -121,3 +119,5 @@ ENV ALLOW_FLIGHT=false \ STOPSIGNAL INT +COPY sponge.jar /sponge.jar +