diff --git a/Dockerfile b/Dockerfile index dc0e6277..ac7a3902 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM openjdk:11-jdk as build # https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && apt install -y nodejs && node --version +RUN mkdir /mods/ && cd /mods/ && curl -sS -L -J -f -O https://github.com/OASIS-learn-study/swissarmyknife-minecraft-server-binaries/raw/master/LuckPerms-Sponge-5.3.98.jar + COPY . /project WORKDIR /project RUN ./gradlew build -PexcludeTests="**/SeleniumTest*" diff --git a/Dockerfile-local b/Dockerfile-local index 7a93d654..53b80fcd 100644 --- a/Dockerfile-local +++ b/Dockerfile-local @@ -5,6 +5,8 @@ FROM itzg/minecraft-server:java8-multiarch # https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && apt install -y nodejs && node --version +RUN mkdir /mods/ && cd /mods/ && curl -sS -L -J -f -O https://github.com/OASIS-learn-study/swissarmyknife-minecraft-server-binaries/raw/master/LuckPerms-Sponge-5.3.98.jar + COPY web/build/libs/*-all.jar /mods/ COPY minecraft-server/* /data-init/