SNIR-MC/Dockerfile

14 lines
237 B
Docker
Raw Permalink Normal View History

2021-12-04 20:29:42 +00:00
FROM openjdk:17-slim
2021-07-18 18:04:14 +00:00
RUN apt update
RUN apt install -y xxd cron
COPY cron-backup /etc/cron.d/minecraft-backup
RUN chmod 0644 /etc/cron.d/minecraft-backup
RUN crontab /etc/cron.d/minecraft-backup
RUN touch /var/log/cron.log
CMD cron