Difference between revisions of "Template:Php:apache Dockerfile"
Jump to navigation
Jump to search
(Created page with " FROM php:apache # Copy your PHP files to the document root COPY index.php /var/www/html # Expose the web server port EXPOSE 80") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
# Copy your PHP files to the document root | # Copy your PHP files to the document root | ||
− | [[COPY]] [[index.php]] [[/var/www/html]] | + | [[COPY]] [[index.php (page)|index.php]] [[/var/www/html]] |
# Expose the web server port | # Expose the web server port | ||
[[EXPOSE 80]] | [[EXPOSE 80]] |
Latest revision as of 14:07, 15 February 2024
FROM php:apache # Copy your PHP files to the document root COPY index.php /var/www/html # Expose the web server port EXPOSE 80
Advertising: