Lightwight Docker image for the (latest) PHP-FPM and Nginx based on AlpineLinux
- Small image: 45MB
- New packages (alpine:latest)
Build the image:
docker build -t you/imagename .
Start the image:
docker run -v /data:/data -p 80:80 you/imagename
Browse to http://dockerip/index.php to view the phpinfo() output.
htdocs
: Webrootlogs
: Nginx/PHP error logs