Sign inSign up

igorkamyshev/php-base

By igorkamyshev

•Updated about 8 years ago

Base image for PHP app

Image
0

2.1K

igorkamyshev/php-base repository overview

⁠php-base

Base image for PHP app

⁠Usage

Create the following Dockerfile in your project dir:

FROM igorkamyshev/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

45.7 MB

Last updated

about 8 years ago

docker pull igorkamyshev/php-base