Fix supervisor
All checks were successful
Push image to registry / build-image (push) Successful in 6m46s
All checks were successful
Push image to registry / build-image (push) Successful in 6m46s
This commit is contained in:
@ -53,7 +53,8 @@ RUN apk update && apk add --no-cache \
|
||||
nginx \
|
||||
openssl \
|
||||
linux-headers \
|
||||
supervisor
|
||||
supervisor \
|
||||
&& rm -rf /tmp/* /var/cache/apk/*
|
||||
|
||||
RUN docker-php-ext-configure zip && docker-php-ext-install zip
|
||||
RUN docker-php-ext-install gd pdo pdo_mysql zip
|
||||
@ -78,7 +79,8 @@ 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
|
||||
COPY ./docker/supervisord.conf /etc/supervisord.conf
|
||||
# RUN supervisorctl reread && 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