2020-07-08 11:56:33 +00:00
|
|
|
FROM php:7.2-apache
|
|
|
|
|
|
|
|
# Use the default production configuration
|
|
|
|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
|
|
|
|
2020-07-08 12:55:35 +00:00
|
|
|
# Enable rewrite module for httpd.
|
|
|
|
RUN ln -s /etc/apache2/mods-enabled/rewrite.load /etc/apache2/mods-available/rewrite.load
|
|
|
|
|
2020-07-08 11:56:33 +00:00
|
|
|
COPY . /var/www/html
|
|
|
|
|