velocity-docker/Dockerfile

12 lines
321 B
Docker
Raw Permalink Normal View History

2023-05-11 11:54:37 +02:00
FROM eclipse-temurin:17-jre-alpine
2021-09-21 16:41:00 +02:00
2024-03-18 13:48:34 +01:00
RUN apk add --no-cache curl && curl https://api.papermc.io/v2/projects/velocity/versions/3.2.0-SNAPSHOT/builds/296/downloads/velocity-3.2.0-SNAPSHOT-296.jar --output /run/velocity.jar
2021-09-21 16:41:00 +02:00
COPY ./start.sh /start.sh
RUN chmod +x /start.sh
VOLUME ["/data"]
ENTRYPOINT ["sh", "/start.sh"]