Changed queue worker
Some checks failed
Push image to registry / build-image (push) Failing after 7m39s
Some checks failed
Push image to registry / build-image (push) Failing after 7m39s
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user