/docker-base-laravel

Base image for a container running Laravel

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

docker-base-laravel

Base image for a container running Laravel

Features

  • Based on the official php:7.1-apache
  • Enables Apache mod_rewrite
  • Installs the pdo_mysql PHP dependency
  • Sets /var/www/html/public as Apache root

Usage

Copy your application code under /var/www/html, so that the public folder /var/www/html/public is served by Apache.