Docker and PHP: Difference between revisions

From Rixort Wiki
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
Line 1: Line 1:
== Basic PHP Dockerfile ==


Build an image and copy in a PHP file:
FROM php:7.2-apache-stretch
COPY index.php /var/www/html/

Revision as of 14:17, 9 February 2020

Basic PHP Dockerfile

Build an image and copy in a PHP file:

FROM php:7.2-apache-stretch

COPY index.php /var/www/html/