Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 866 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 866 Bytes

Laravel Octane Dockerfile

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.

Extensions & Packages

TODO

Replacing sail image in dev

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