mirror of
https://github.com/fspc/etherpad-and-draw-node-alpine.git
synced 2025-02-28 11:33:24 -05:00
Corrects a typo for VOLUME node_modules in both Dockerfiles.
This commit is contained in:
parent
2a5fa1a0e3
commit
ca15bd194a
@ -20,7 +20,7 @@ COPY entrypoint.sh /entrypoint.sh
|
|||||||
|
|
||||||
RUN sed -i 's/^node/exec\ node/' bin/run.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
|
RUN ln -s var/settings.json settings.json
|
||||||
|
|
||||||
EXPOSE 9002
|
EXPOSE 9002
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# node 9.2
|
# node 9.2
|
||||||
FROM node:9-alpine
|
FROM node:9.4.0-alpine
|
||||||
MAINTAINER Jonathan Rosenbaum <fspc@freesoftwarepc.com>
|
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
|
# 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
|
WORKDIR etherpad-lite
|
||||||
|
|
||||||
|
COPY installDeps.sh /opt/etherpad-lite/bin/installDeps.sh
|
||||||
|
|
||||||
RUN bin/installDeps.sh && rm settings.json
|
RUN bin/installDeps.sh && rm settings.json
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
#COPY installDeps.sh /opt/etherpad-lite/bin/installDeps.sh
|
||||||
|
|
||||||
RUN sed -i 's/^node/exec\ node/' bin/run.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 ln -s var/settings.json settings.json
|
||||||
RUN npm install ep_adminpads ep_align ep_authornames ep_comments_page \
|
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 \
|
ep_copy_paste_images ep_define ep_draw ep_font_color ep_font_family \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user