Update nodejs & etherpad versions
This commit is contained in:
parent
e8ec45ef60
commit
50832e109f
1 changed files with 7 additions and 8 deletions
15
Dockerfile
15
Dockerfile
|
@ -1,9 +1,8 @@
|
||||||
|
|
||||||
# Stable version of etherpad doesn't support npm 2
|
# Stable version of etherpad doesn't support npm 2
|
||||||
FROM node:11-slim
|
FROM node:13-slim
|
||||||
MAINTAINER Glenn Y. Rolland <glenux@glenux.net>
|
MAINTAINER Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
ENV ETHERPAD_VERSION 1.7.5
|
ENV ETHERPAD_VERSION 1.8.0
|
||||||
|
|
||||||
# RUN = docker run ... + docker commit
|
# RUN = docker run ... + docker commit
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
@ -24,11 +23,11 @@ COPY parseurl.py /parseurl.py
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
# Pre-install
|
# Pre-install
|
||||||
RUN bin/installDeps.sh && rm settings.json && \
|
RUN bin/installDeps.sh && rm settings.json \
|
||||||
chmod +x /entrypoint.sh && \
|
&& chmod +x /entrypoint.sh \
|
||||||
sed -i 's/^node/exec\ node/' bin/run.sh && \
|
&& sed -i 's/^node/exec\ node/' bin/run.sh \
|
||||||
ln -s var/settings.json settings.json && \
|
&& 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
|
&& 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
|
VOLUME /opt/etherpad-lite/var
|
||||||
EXPOSE 9001
|
EXPOSE 9001
|
||||||
|
|
Loading…
Reference in a new issue