From 05a24df3a294e6fdbad5e64aefd31cad1f4b29f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Maldonado?= <amaldona@etu.utc.fr> Date: Thu, 29 Oct 2020 00:58:05 +0100 Subject: [PATCH] Fix minify error etherpad.js does not get minified correctly with minify@5.2.0. Instead of the minified js, there is just 'Promise { <pending> }'. minify@5.1.1 works correctly --- pica-etherpad/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile index b09cabe5..e8b86120 100644 --- a/pica-etherpad/Dockerfile +++ b/pica-etherpad/Dockerfile @@ -36,7 +36,7 @@ RUN curl -SL https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION_B COPY ./landing-page ./src/templates/landing-page # Build and replace landing page -RUN npm install minify@5 && \ +RUN npm install minify@5.1.1 && \ ./src/templates/landing-page/build/build.sh && \ cp ./src/templates/landing-page/index.html src/templates/index.html && \ cp -r ./src/templates/landing-page/static/* src/static/ -- GitLab