use correct server jar

This commit is contained in:
Sebastian Hugentobler 2021-08-05 20:48:03 +02:00
parent bd20fad56d
commit d498ab1b51
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -15,11 +15,11 @@ WORKDIR /Paper
RUN git checkout "$VERSION"
RUN ./gradlew applyPatches
RUN ./gradlew reobfJar
RUN mv /Paper/Paper-Server/target/paper-*.jar /Paper/Paper-Server/target/paper.jar
RUN mv /Paper/Paper-Server/build/libs/Paper-Server-*-mapped.jar /Paper/Paper-Server/build/libs/paper.jar
FROM thallian/confd-env:latest
COPY --from=builder /Paper/Paper-Server/target/paper.jar /var/lib/minecraft/paper.jar
COPY --from=builder /Paper/Paper-Server/build/libs/paper.jar /var/lib/minecraft/paper.jar
RUN apk add --no-cache \
openssl