commit ac5a3e9778c0770cd9e1e822a85ac5cbf19eefc4 Author: Nick Slowinski Date: Wed Jun 23 21:31:14 2021 +0200 initial Dockerfile added diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..61ffb19 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine as helper +ENV JTS3_SERVER_MOD_VERSION=6.5.7 +RUN wget -O JTS3ServerMod.zip "https://www.stefan1200.de/downloads/JTS3ServerMod_${JTS3_SERVER_MOD_VERSION}.zip" && unzip JTS3ServerMod.zip && mv JTS3ServerMod/changelog.txt JTS3ServerMod/readme.txt JTS3ServerMod/readme_deutsch.txt JTS3ServerMod/documents + +FROM alpine +COPY --from=helper /JTS3ServerMod /JTS3ServerMod +RUN apk add --no-cache openjdk8-jre-base +WORKDIR /JTS3ServerMod +CMD java -jar JTS3ServerMod.jar \ No newline at end of file