MAPG-62 add html-minifier to Dockerfile

This commit is contained in:
Bence Pőcze 2020-05-24 15:43:22 +02:00
parent 0b7012b4d2
commit 334038dc97

View File

@ -23,8 +23,7 @@ RUN ./install-composer.sh
# Install Node.js and required packages # Install Node.js and required packages
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt install -y nodejs RUN apt install -y nodejs
RUN npm install -g uglify-js RUN npm install -g uglify-js clean-css-cli html-minifier
RUN npm install -g clean-css-cli
EXPOSE 80 EXPOSE 80
VOLUME /var/www/mapguesser VOLUME /var/www/mapguesser