.
This commit is contained in:
parent
b7623bab85
commit
d6e4cae9c6
60 changed files with 486 additions and 93 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue