2024-04-20 23:27:47 +02:00
|
|
|
ARG PHP_VERSION=8.0
|
|
|
|
FROM sail-${PHP_VERSION}/app as base
|
2024-04-22 00:27:22 +02:00
|
|
|
|
|
|
|
RUN apt-get update \
|
2024-04-26 16:09:33 +02:00
|
|
|
&& apt-get -y install cron imagemagick php8.3-imagick rsync
|
2024-04-22 00:27:22 +02:00
|
|
|
|
|
|
|
COPY crontab /etc/cron.d/laravel-scheduler
|
|
|
|
RUN chmod 0644 /etc/cron.d/laravel-scheduler
|
|
|
|
RUN crontab /etc/cron.d/laravel-scheduler
|
|
|
|
RUN touch /var/log/cron.log
|