diff --git a/Dockerfile b/Dockerfile index ec6ab87..2b3d213 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,20 @@ -FROM ironcraft/minecraft-server:1.10.2 +FROM ironcraft/minecraft-forge:1.10.2 MAINTAINER Xawirses LABEL maintainer="Xawirses " +VOLUME ["/minecraft/world", "/minecraft/config"] + RUN apt update && apt install -y unzip zip ENV AOE_VERSION 1.0.4 -ENV AOE_URL https://addons-origin.cursecdn.com/files/2455/50/Age\ of\ Engineering-${AOE_VERSION}.zip +ENV AOE_URL https://addons-origin.cursecdn.com/files/2455/50/Age%20of%20Engineering-${AOE_VERSION}.zip -RUN curl --create-dirs -sLo /tmp/aoe.zip ${AOE_URL} && \ - cd /tmp && \ - unzip aoe.zip -d /tmp/aoe && \ - cp /tmp/aoe/overrides/* /minecraft/ +RUN curl --create-dirs -sLo /build/aoe.zip "${AOE_URL}" && \ + cd /build && \ + unzip aoe.zip -d /build/aoe && \ + cp -R /build/aoe/overrides/* /minecraft/ EXPOSE 25565 -VOLUME ["/minecraft/world", "/minecraft/config"] ENTRYPOINT ["/usr/bin/entrypoint.sh"] \ No newline at end of file