combine two RUN statements to keep the layers down

master
Michael Contento 7 years ago
parent 6181af05f9
commit 190712ffc1

@ -6,10 +6,9 @@ RUN \
# Install dependencies
apk add --no-cache nginx supervisor \
# Install PHP extension
&& docker-php-ext-install opcache
&& docker-php-ext-install opcache \
# Remove (some of the) default nginx config
RUN rm -f /etc/nginx.conf \
&& rm -f /etc/nginx.conf \
&& rm -rf /etc/nginx/sites-* \
&& rm -rf /var/log/nginx \
# Ensure nginx logs, even if the config has errors, are written to stderr

Loading…
Cancel
Save