gtnh-server-docker/Dockerfile
2023-11-24 15:20:30 +03:00

11 lines
519 B
Docker

FROM openjdk:20
COPY app /app
ADD https://github.com/GTNewHorizons/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.jar
ADD https://mediafilez.forgecdn.net/files/2291/494/FTBUtilities-1.7.10-1.0.18.3.jar /app/mods/FTBUtilities-1.7.10-1.0.18.3.jar
ADD https://mediafilez.forgecdn.net/files/2291/433/FTBLib-1.7.10-1.0.18.3.jar /app/mods/FTBLib-1.7.10-1.0.18.3.jar
COPY prepare_environment.sh startserver.sh /app/
RUN mkdir -p /data
WORKDIR /app
EXPOSE 25565
CMD ["/app/startserver.sh"]