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]] [[ | + | [[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: