|
@@ -32,11 +32,11 @@ RUN ln -sf /etc/apache2/sites-available/wordpress.conf /etc/apache2/sites-enable
|
|
|
RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
|
|
|
|
|
# configure mod_php
|
|
|
-RUN a2enmod php5
|
|
|
+RUN a2enmod php7.0
|
|
|
RUN a2enmod rewrite
|
|
|
RUN sed -e 's/upload_max_filesize = .*/upload_max_filesize = 8M/' \
|
|
|
-e 's,;session.save_path.*,session.save_path = "/run/wordpress/sessions",' \
|
|
|
- -i /etc/php5/apache2/php.ini
|
|
|
+ -i /etc/php/7.0/apache2/php.ini
|
|
|
|
|
|
ADD start.sh /app/code/start.sh
|
|
|
|