Change to Geyser

This commit is contained in:
2023-04-07 16:04:06 +02:00
parent d9ab4d6d7a
commit da43c38710
4 changed files with 28 additions and 76 deletions

View File

@@ -1,22 +1,19 @@
FROM eclipse-temurin:17-jdk
ARG RUNNABLE_SERVER_JAR
ARG RUNNABLE_JAR
# create directories
WORKDIR /data
RUN mkdir bin bundle workdir
# add executable files
ADD $RUNNABLE_SERVER_JAR bin/paper.jar
ADD $RUNNABLE_JAR bin/geyser.jar
ADD run.sh bin/run.sh
# download paper libraries and apply patches
RUN java -DbundlerRepoDir=/data/bundle -Dpaperclip.patchonly=true -jar /data/bin/paper.jar
# configure max heap size
ENV MAXMEM=1024M
EXPOSE 25565
EXPOSE 19132/udp
VOLUME /data/workdir
WORKDIR /data/workdir