Docker and PHP

From Rixort Wiki
Revision as of 13:17, 9 February 2020 by Paul (Sọ̀rọ̀ | contribs)
Jump to navigation Jump to search

Basic PHP Dockerfile

Build an image and copy in a PHP file:

FROM php:7.2-apache-stretch

COPY index.php /var/www/html/