Progress
This commit is contained in:
@@ -75,13 +75,6 @@ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
|
||||
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf && \
|
||||
sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||
|
||||
# Setup Crone
|
||||
RUN mkdir -p /var/log/cron && \
|
||||
echo "* * * * * www-data cd /var/www/html && /usr/local/bin/php artisan schedule:run >> /dev/null 2>&1" >> /etc/crontab && \
|
||||
echo "* * * * * www-data cd /var/www/html && /usr/local/bin/php artisan queue:work --queue=default,importstatistics --stop-when-empty >> /dev/null 2>&1" >> /etc/crontab && \
|
||||
echo "* * * * * www-data cd /var/www/html && /usr/local/bin/php artisan queue:work --queue=statistics --stop-when-empty >> /dev/null 2>&1" >> /etc/crontab && \
|
||||
echo "* * * * * www-data cd /var/www/html && /usr/local/bin/php artisan queue:work --queue=detections --stop-when-empty >> /dev/null 2>&1" >> /etc/crontab
|
||||
|
||||
# Install composer # bun
|
||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
Reference in New Issue
Block a user