Base Docker image for Laravel apps
Should work fine as-is. Add your code to /var/www/html and you're good to go.
FROM ...
ADD server /var/www/html
RUN chmod 777 -R /var/www/html/bootstrap/cache
RUN chmod 777 -R /var/www/html/storage
You can override the CMD with php artisan your:command
to run any artisan command.
php artisan queue:work --queue=your-queue-name
php artisan schedule:work
No changes over 10.x-php8.3
PHP bump; no other changes over 10.x-php8.2
Removed Supercronic. Added instructions for how to run artisan commands as replacement for cron-like functionality.
PHP bump; no other changes over 9.x-php8.1
Laravel 9/10 release. No major changes over 8.x-php8.1
PHP 8.1 release, targeting Laravel 8
- Remove 'tokenizer' as a preinstalled mod
- Add 'intl' as a preinstalled mod
- Update Supercronic 0.1.11 -> 0.1.12
PHP 8.0 release, targeting Laravel 8