Update Dockerfile

This commit is contained in:
Roman Kelesidis 2025-08-21 16:31:06 +03:00
commit a337ecf9b7
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -26,6 +26,8 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app
COPY . /app
RUN composer install --prefer-dist --optimize-autoloader
RUN echo "*/10 * * * * php /app/cron.php >> /proc/1/fd/1 2>&1" > /etc/cron.d/app-cron \
&& chmod 0644 /etc/cron.d/app-cron \
&& crontab /etc/cron.d/app-cron