Skip to content

iolk/laravel-octane-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published