This commit is contained in:
Lizandro Guarnizo
2026-06-05 16:31:34 -05:00
parent 91a538cef7
commit 1a85d6e9a8
3 changed files with 6 additions and 24 deletions
+3 -2
View File
@@ -65,9 +65,10 @@ RUN mkdir -p bootstrap/cache storage/framework/views storage/framework/cache sto
COPY docker/nginx.conf /etc/nginx/http.d/default.conf
COPY docker/supervisord.conf /etc/supervisor.conf
COPY docker/www.conf /usr/local/etc/php-fpm.d/www.conf
RUN echo "* * * * * php /app/artisan schedule:run >> /dev/null 2>&1" > /etc/crontabs/www-data
RUN php-fpm -t \
&& nginx -t \
&& echo "* * * * * php /app/artisan schedule:run >> /dev/null 2>&1" > /etc/crontabs/www-data
EXPOSE 80