19 lines
380 B
Docker
19 lines
380 B
Docker
FROM t0is/laravel-roadrunner-base:latest-amd64
|
|
|
|
RUN apt update -y && apt upgrade -y
|
|
|
|
WORKDIR /var/www/html
|
|
RUN docker-php-ext-enable redis
|
|
|
|
|
|
COPY src/. /var/www/html
|
|
COPY src/.env /var/www/html/.env
|
|
|
|
|
|
ENV COMPOSER_HOME=/tmp/composer
|
|
RUN composer install --optimize-autoloader --no-dev
|
|
RUN #chown -R www-data:www-data /var/www/html/vendor
|
|
|
|
|
|
CMD ["php", "artisan", "schedule:work"]
|