Skip to content

A Laravel optimized Docker image using Alpine.

License

Notifications You must be signed in to change notification settings

science20012003/alpine-laravel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-laravel

This is a lightweight Docker image optimized for Laravel and built on Alpine Linux. It has a pretty standard setup for PHP 7.1, PHP-FPM, NGINX, and Composer. The PHP extensions are heavily limited to those most commonly used in a Laravel application. It works out of the box, and though future updates are pending, it will remain as small as possible.

TODOs:

  • [] Investigate other PHP extensions that need to be added.
  • [] Possibly add a global laravel installer command.
  • [] Possibly add a global artisan command.

Example docker-compose.yml

version: '2.1'
services:
  web:
    image: videoblocks/alpine-laravel:latest
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ../../:/var/www/html
    working_dir: /var/www/html

Note: This is image originally based on https://github.com/TrafeX/docker-php-nginx

About

A Laravel optimized Docker image using Alpine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%