MAPG-62 add html-minifier to Dockerfile
This commit is contained in:
parent
0b7012b4d2
commit
334038dc97
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user