Skip to content

Commit 3ab0341

Browse files
committed
Fix Dockerfile
1 parent 09800ab commit 3ab0341

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ RUN mv php.ini /usr/local/etc/php/conf.d/
5656
# Setup Opcache
5757
RUN mv opcache.ini /usr/local/etc/php/conf.d/
5858

59-
# Setup CRON
60-
RUN echo -e "*\t*\t*\t*\t*\tcd /var/www/html && php artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root
61-
6259
VOLUME /var/www/html/storage/framework/cache/data
6360

6461
# Cache project and Start PHP-FPM and NGINX
65-
CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; n crond; nginx -g "daemon off;"
62+
CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; nginx -g "daemon off;"

0 commit comments

Comments
 (0)