FROM php:7.3-cli
RUN docker-php-ext-install mysqli
RUN docker-php-ext-install pdo pdo_mysql
ADD ./ /var/www
RUN chmod uog+rwx /var/www/storage/logs
WORKDIR /var/www
CMD ["php", "artisan", "queue:work"]