From 9ffe51eb5c14b38f294cfa0f4501c968f34dbea9 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 30 Apr 2021 15:06:51 +0200 Subject: [PATCH] fix: improve installation steps --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27eb619..864f0bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,21 +24,21 @@ COPY parseurl.py /parseurl.py COPY entrypoint.sh /entrypoint.sh # Pre-install -CMD /bin/bash - -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 \ +RUN chmod +x /entrypoint.sh \ && cd src \ - && npm install -D \ + && npm install --save-prod \ ep_author_neat ep_headings2 \ ep_set_title_on_pad ep_adminpads \ ep_workspaces ep_comments_page \ ep_font_color ep_table_of_contents \ ep_delete_after_delay \ ep_offline_edit \ - ep_prompt_for_name + ep_prompt_for_name \ + && cd .. \ + && bin/installDeps.sh \ + && sed -i 's/^node/exec\ node/' bin/run.sh \ + && rm settings.json \ + && ln -s var/settings.json settings.json # ep_mypads