Sign inSign up

nuagebec/base-laravel-apache-docker

By nuagebec

•Updated about 9 years ago

just a base for speeding up the installation at the ONBUILD phase

Image
0

267

nuagebec/base-laravel-apache-docker repository overview

⁠Laravel Base Image

This image is a base image for Laravel application served by Apache with mod_php running php 7. Must be used as a first step

⁠Stack

  • Apache 2 with PHP mod
  • PHP 7
  • Node 6.6.2 (Used only to run frontend tasks. Removed from the final image)

See How to use this image section for more details.

logo PHP logo Laravel Apache

PHP⁠ Laravel⁠ Apache⁠

⁠thanks

thanks to brunogasparin/laravel-apache:5-onbuild for the good work

⁠How to use this image

⁠How to configure PHP for development

This image comes with php-fpm configured to be used in production environment, containing settings which hold security, performance and best practices. To customize the php behavior for development environment, COPY a custom php.ini configuration into /usr/local/etc/php (you can use the $PHP_INI_DIR environment variable) by adding one more line to the Dockerfile above and running the same commands to build and run:

FROM brunogasparin/laravel-apache:5-onbuild
COPY config/php.ini $PHP_INI_DIR

Where config/ contains your php.ini file.

Tag summary

Content type

Image

Digest

Size

188.8 MB

Last updated

about 9 years ago

docker pull nuagebec/base-laravel-apache-docker