A docker image running nginx and PHP-fpm with XDebug enabled
1.1K
A docker image running Nginx and PHP-fpm
To be as close as possible to the Production environment.
PS: It was not meant to be a production Image, it includes XDebug.
Nginx will serve everything under /var/www/html
Just mound a volume under that folder
and, remap the PORTS as you wish:
docker run --rm -it -p 8080:80 --volume ./local/path:/var/www/http carlosalgms/docker-php-fpm-nginx:7-fpm
Content type
Image
Digest
sha256:3602d05d7…
Size
34.8 MB
Last updated
almost 4 years ago
docker pull carlosalgms/docker-php-fpm-nginx