Docker image with Ubuntu 20.04 + nginx + PHP-FPM
57
Docker image with Ubuntu 20.04 + nginx + PHP-FPM
Both nginx and PHP-FPM configured to output to /dev/stderr and /dev/stdout respectively
FROM icebrian/unp:1.0
COPY phpinfo.php /var/www/html/
COPY init.sh /usr/local/bin/
RUN chmod u+x /usr/local/bin/init.sh
EXPOSE 80 443
ENTRYPOINT ["init.sh"]
#!/bin/bash
set -e
echo "Start PHP-FPM ..."
service php7.4-fpm start
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g "daemon off;"
Content type
Image
Digest
Size
106.8 MB
Last updated
over 6 years ago
docker pull icebrian/unp:1.0