Sign inSign up

steeze/php

By steeze

•Updated over 6 years ago

php7.3.2 with php-fpm and nginx

Image
0

247

steeze/php repository overview

⁠The image is for php7.3.2, include php-fpm and nginx.
⁠Intall config:
php.ini path: /etc/php/7.3/cli/php.ini  
nginx.conf:   /etc/nginx/nginx.conf 
www public dir:   /var/www/html    
start all service command:   /user/local/bin/start
⁠Usage:

You can use environment variable WEBROOT specify www public dir.
Start from shell command:

mkdir -p /root/www/public
docker run -it -v /root/www/public:/var/www/html --rm  -p 80:80 steeze/php start

User Dockerfile:

FROM steeze/php
ADD /root/www/public /var/www/html
EXPOSE 80
CMD ["start"]

Tag summary

Content type

Image

Digest

Size

149.3 MB

Last updated

over 6 years ago

docker pull steeze/php