From 50832e109f340575c4669a53aca454da71dfc6f7 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 20 Mar 2020 19:58:02 +0100 Subject: [PATCH] Update nodejs & etherpad versions --- Dockerfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80d6df9..2aba9c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ - # Stable version of etherpad doesn't support npm 2 -FROM node:11-slim +FROM node:13-slim MAINTAINER Glenn Y. Rolland -ENV ETHERPAD_VERSION 1.7.5 +ENV ETHERPAD_VERSION 1.8.0 # RUN = docker run ... + docker commit RUN apt-get update && \ @@ -24,11 +23,11 @@ COPY parseurl.py /parseurl.py COPY entrypoint.sh /entrypoint.sh # Pre-install -RUN bin/installDeps.sh && rm settings.json && \ - chmod +x /entrypoint.sh && \ - sed -i 's/^node/exec\ node/' bin/run.sh && \ - ln -s var/settings.json settings.json && \ - npm install ep_author_neat ep_headings2 ep_set_title_on_pad ep_adminpads ep_mypads ep_padwiki ep_comments_page +RUN bin/installDeps.sh && rm settings.json \ + && chmod +x /entrypoint.sh \ + && sed -i 's/^node/exec\ node/' bin/run.sh \ + && ln -s var/settings.json settings.json \ + && npm install ep_author_neat ep_headings2 ep_set_title_on_pad ep_adminpads ep_mypads ep_padwiki ep_comments_page VOLUME /opt/etherpad-lite/var EXPOSE 9001