gtnh-server-docker/Dockerfile

9 lines
276 B
Docker
Raw Normal View History

2023-11-24 11:03:35 +00:00
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
COPY prepare_evironment.sh startserver.sh /app/
RUN mkdir -p /data
WORKDIR /app
EXPOSE 25565
CMD ["/app/startserver.sh"]