Browse Source

Corrects a typo for VOLUME node_modules in both Dockerfiles.

master
Jonathan Rosenbaum 6 years ago
parent
commit
ca15bd194a
  1. 2
      etherdraw/Dockerfile
  2. 7
      etherpad/Dockerfile

2
etherdraw/Dockerfile

@ -20,7 +20,7 @@ COPY entrypoint.sh /entrypoint.sh
RUN sed -i 's/^node/exec\ node/' bin/run.sh
VOLUME /opt/draw/var /opt/draw/node_module
VOLUME /opt/draw/var /opt/draw/node_modules
RUN ln -s var/settings.json settings.json
EXPOSE 9002

7
etherpad/Dockerfile

@ -1,5 +1,5 @@
# node 9.2
FROM node:9-alpine
FROM node:9.4.0-alpine
MAINTAINER Jonathan Rosenbaum <fspc@freesoftwarepc.com>
# npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
@ -21,12 +21,15 @@ RUN curl -SL \
WORKDIR etherpad-lite
COPY installDeps.sh /opt/etherpad-lite/bin/installDeps.sh
RUN bin/installDeps.sh && rm settings.json
COPY entrypoint.sh /entrypoint.sh
#COPY installDeps.sh /opt/etherpad-lite/bin/installDeps.sh
RUN sed -i 's/^node/exec\ node/' bin/run.sh
VOLUME /opt/etherpad-lite/var /opt/etherpad-lite/node_module
VOLUME /opt/etherpad-lite/var /opt/etherpad-lite/node_modules
RUN ln -s var/settings.json settings.json
RUN npm install ep_adminpads ep_align ep_authornames ep_comments_page \
ep_copy_paste_images ep_define ep_draw ep_font_color ep_font_family \

Loading…
Cancel
Save