Difference between revisions of "Template:Php:apache Dockerfile"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
# Copy your PHP files to the document root | # Copy your PHP files to the document root | ||
− | [[COPY]] [[PHP: index. | + | [[COPY]] [[PHP: index.php|index.php]] [[/var/www/html]] |
# Expose the web server port | # Expose the web server port | ||
[[EXPOSE 80]] | [[EXPOSE 80]] |
Revision as of 14:06, 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: