Optimized RUNs and put php in production mode
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
1d3e27af8e
commit
25fa1f4ee9
@ -5,5 +5,6 @@ RUN apt-get update \
|
||||
&& wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb -O /tmp/modpagespeed.deb \
|
||||
&& dpkg -i /tmp/modpagespeed.deb \
|
||||
&& rm /tmp/modpagespeed.deb \
|
||||
&& service apache2 restart
|
||||
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli
|
||||
&& service apache2 restart \
|
||||
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
|
||||
&& docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli
|
||||
|
Loading…
Reference in New Issue
Block a user