This commit is contained in:
kento2 2026-08-20 17:16:00 +02:00
parent b7623bab85
commit d6e4cae9c6
60 changed files with 486 additions and 93 deletions

View file

@ -4,7 +4,6 @@ EXPOSE 25565
ENV VELOCITY_VERSION="4.1.0-SNAPSHOT"
VOLUME /mnt
COPY --chmod=755 entrypoint.sh /entrypoint.sh
WORKDIR /data
RUN apk add --no-cache curl jq
@ -12,5 +11,8 @@ RUN curl -s "https://fill.papermc.io/v3/projects/velocity/versions/$VELOCITY_VER
| jq -r '.downloads."server:default".url' \
| xargs curl -o server.jar
COPY ./velocity.toml /data
COPY ./forwarding.secret /data
COPY --chmod=755 entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["java", "-jar", "server.jar"]