fix: improve installation steps

This commit is contained in:
Glenn Y. Rolland 2021-04-30 15:06:51 +02:00
parent 7d8c313f60
commit 9ffe51eb5c

View file

@ -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