diff --git a/Dockerfile b/Dockerfile index f49f0df40b91a085c3755ae8d539fcdd8f5bcdd3..872300c5d865ad37c03101367415fc2fa67fed82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,8 +34,8 @@ COPY crontab /etc/cron.d/backup # Set Timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -# Create /papermc and /backup directories -RUN mkdir /papermc /backup +# Create /papermc and /backup directories and /web for the dynmap +RUN mkdir /papermc /backup /web #sets permission for the cronjobs RUN chmod 0644 /etc/cron.d/backup @@ -79,3 +79,4 @@ EXPOSE 25565/udp #Specifies the datastructure in the container VOLUME /papermc VOLUME /backup +VOLUME /web