1
0
cms11/docker/Dockerfile

13 lines
349 B
Docker
Raw Normal View History

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-05-09 15:44:16 +02:00
&& apt-get -y install cron imagemagick rsync \
2024-05-08 21:01:30 +02:00
php${PHP_VERSION}-imagick \
php${PHP_VERSION}-redis
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