Sign inSign up

breadheadhub/php-base

By breadheadhub

•Updated over 7 years ago

Image
0

741

breadheadhub/php-base repository overview

⁠php-base

Base image for PHP app

⁠Usage

Create the following Dockerfile in your project dir:

FROM breadgheadhub/php-base

ENV APP_ENV=prod
ENV APP_DEBUG=0

COPY . /var/www/html/

RUN composer install --no-dev

CMD ["/start.sh"]

Great! App will be start from public/index.php on 80 port in container.

Tag summary

Content type

Image

Digest

Size

136.5 MB

Last updated

over 7 years ago

docker pull breadheadhub/php-base