Alpine-based image based on PHP 8.x and Nginx, packaged to run a PHP app as a Azure Web App.
10K+
Meant as a base image for PHP apps, this image is best suited to use as a FROM tag in your own Dockerfile, ie:
FROM dibk/php-appservice
ADD wwwroot --chown=www-data:www-data /var/www/html
Those two lines will build a complete web server, ready for running inside an Azure Web App. The image is set to use the web root /var/www/html. If the web app in question uses some other root location, for instance '/var/www/html/public' (Laravel), you can fix that by including this in your Dockerfile:
RUN sed -i 's|/html;|/html/public;|g' /etc/nginx/nginx.conf
Content type
Image
Digest
sha256:9bed4bc94…
Size
118.1 MB
Last updated
20 days ago
docker pull dibk/php-appservice