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