Lightweight & optimized Multi-Arch Docker Images (amd64/arm64) for PHP-8.2 with essential extensions on top of latest Alpine Linux ready for Laravel served by Octane and RoadRunner.
TODO
First install sail.
Then install octane with-out roadrunner binary (already included within the container)
composer require laravel/octane
php artisan octane:install
# Required to run --watch
npm install --save-dev chokidar
Finally in docker-compose.yml
change laravel.test
with:
laravel.test:
image: 'iolk/laravel-octane:dev'
ports:
- '${APP_PORT:-80}:80'
env_file:
- .env
volumes:
- '.:/var/www/html'
networks:
- sail