Changed queue worker
Some checks failed
Push image to registry / build-image (push) Failing after 7m39s

This commit is contained in:
2025-02-20 19:22:38 +01:00
parent f1f32c44b5
commit 51eafce03a
4 changed files with 20 additions and 3 deletions

View File

@ -52,7 +52,8 @@ RUN apk update && apk add --no-cache \
supervisor \
nginx \
openssl \
linux-headers
linux-headers \
supervisor
RUN docker-php-ext-configure zip && docker-php-ext-install zip
RUN docker-php-ext-install gd pdo pdo_mysql zip
@ -75,6 +76,10 @@ RUN mv ${APP_ENV_FILE} .env
RUN composer install --no-interaction --prefer-dist
# Supervisor
COPY ./docker/datbrowserQueueWorker.conf /etc/supervisor/conf.d/datbrowserQueueWorker.conf
RUN sudo supervisorctl reread && sudo supervisorctl reread && sudo supervisorctl update
# CRON
RUN echo "* * * * * cd ${wd} && php artisan schedule:run >> /dev/null 2>&1" > /etc/crontabs/root