File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- FROM php:7.3 -apache
2- MAINTAINER Devin Matte <
[email protected] >
1+ FROM php:7.1 -apache
2+ LABEL author= " Devin Matte <[email protected] >" 33
4- ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf
4+ COPY apache-config.conf /etc/apache2/sites-enabled/000-default.conf
55
66RUN a2enmod rewrite && a2enmod headers && a2enmod expires && \
77 sed -i '/Listen/{s/\( [0-9]\+\) /8080/; :a;n; ba}' /etc/apache2/ports.conf && \
88 chmod og+rwx /var/lock/apache2 && chmod -R og+rwx /var/run/apache2
99
1010RUN apt-get -yq update && \
11- apt-get -yq install gnupg imagemagick libmagickwand-dev --no-install-recommends && \
12- apt-get -yq clean all
11+ apt-get -yq install gnupg libmagickwand-dev --no-install-recommends
1312
1413RUN docker-php-ext-install mysqli && \
1514 pecl install imagick && docker-php-ext-enable imagick
@@ -20,7 +19,7 @@ COPY . /var/www/html
2019
2120RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
2221 && apt-get -yq update \
23- && apt-get -yq install nodejs \
22+ && apt-get -yq install nodejs --no-install-recommends \
2423 && npm install \
2524 && npm run-script build \
2625 && rm -rf node_modules \
You can’t perform that action at this time.
0 commit comments