Files
wireguard_webadmin/containers/cron/Dockerfile-cron

13 lines
290 B
Plaintext
Raw Normal View History

2024-02-23 14:23:22 -03:00
FROM ubuntu:latest
RUN apt-get update && apt-get install -y cron curl && rm -rf /var/lib/apt/lists/*
2024-02-23 14:23:22 -03:00
COPY entrypoint.sh /entrypoint.sh
COPY cron_runner.sh /cron_runner.sh
RUN chmod +x /entrypoint.sh
RUN chmod +x /cron_runner.sh
2024-02-23 14:23:22 -03:00
RUN touch /var/log/cron.log
ENTRYPOINT ["/entrypoint.sh"]