From 3ab034154c711740982de48fc6ef2e55811f9b1f Mon Sep 17 00:00:00 2001 From: Ben van Hartingsveldt Date: Fri, 27 Jun 2025 16:36:20 +0200 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e132f2b..3751d7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,10 +56,7 @@ RUN mv php.ini /usr/local/etc/php/conf.d/ # Setup Opcache RUN mv opcache.ini /usr/local/etc/php/conf.d/ -# Setup CRON -RUN echo -e "*\t*\t*\t*\t*\tcd /var/www/html && php artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root - VOLUME /var/www/html/storage/framework/cache/data # Cache project and Start PHP-FPM and NGINX -CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; n crond; nginx -g "daemon off;" +CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; nginx -g "daemon off;"