From a956e2fdfec30081d4a8e4c4643dabb6aec7e8ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9s=20Maldonado?= <amaldona@etu.utc.fr>
Date: Mon, 5 Oct 2020 02:04:04 +0200
Subject: [PATCH] [Etherpad] Fix minify version

Minify v6 requires node>=12

https://team.picasoft.net/picasoft/pl/gd5e6y48p3gfupp9tgnchqgw6e
---
 pica-etherpad/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pica-etherpad/Dockerfile b/pica-etherpad/Dockerfile
index dff9e0b5..7275af4e 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 && \
+RUN npm install minify@5 && \
     ./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