From 65f1cdda2aec0e7042d23ec9eb3367a27db2a9d3 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 21 Aug 2025 21:04:05 +0300 Subject: [PATCH] Revert "Update Dockerfile" This reverts commit d586a18a9e132272472821d67a0a8ba0ed69fc84. --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 43fce0bfe..32dca4e52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,14 +32,13 @@ RUN composer install --prefer-dist --no-dev --optimize-autoloader --no-scripts COPY . /app -RUN php _cleanup.php && rm _cleanup.php - -RUN chown -R www-data:www-data /app \ - && find /app -type d -exec chmod 755 {} \; \ - && find /app -type f -exec chmod 644 {} \; +RUN php _cleanup.php && rm _cleanup.php \ + && chown -R www-data:www-data /app \ + && chmod -R 755 /app RUN echo "*/10 * * * * www-data php /app/cron.php >> /proc/1/fd/1 2>&1" > /etc/cron.d/app-cron \ - && chmod 0644 /etc/cron.d/app-cron + && chmod 0644 /etc/cron.d/app-cron \ + && crontab /etc/cron.d/app-cron COPY install/docker/Caddyfile /etc/caddy/Caddyfile COPY install/docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf