This repository has been archived by the owner on Nov 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Salla Karppinen
committed
Feb 14, 2018
1 parent
37e7d83
commit 8c3fd3a
Showing
2 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,13 +24,13 @@ | |
|
||
FROM node:6.12.0-alpine | ||
LABEL Name=OAE-Etherpad | ||
LABEL Author=ApereoFoundation | ||
LABEL Author=ApereoFoundation | ||
LABEL [email protected] | ||
|
||
# | ||
# Install etherpad | ||
# | ||
ENV ETHERPAD_VERSION 1.6.2 | ||
ENV ETHERPAD_VERSION 1.6.3 | ||
ENV ETHERPAD_PATH /opt/etherpad | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
@@ -53,6 +53,13 @@ RUN chown -R etherpad:etherpad ${ETHERPAD_PATH} | |
# Install ep_headings module | ||
RUN cd ${ETHERPAD_PATH} && npm install ep_headings | ||
|
||
# Install ep_comments module | ||
RUN cd ${ETHERPAD_PATH} \ | ||
&& npm install ep_page_view \ | ||
&& git clone https://github.com/JohnMcLear/ep_comments.git node_modules/ep_comments_page \ | ||
&& cd node_modules/ep_comments_page \ | ||
&& npm install | ||
|
||
# Etherpad OAE plugin | ||
RUN cd ${ETHERPAD_PATH}/node_modules \ | ||
&& git clone https://github.com/oaeproject/ep_oae \ | ||
|
@@ -76,4 +83,4 @@ RUN echo "13SirapH8t3kxUh5T5aqWXhXahMzoZRA" > ${ETHERPAD_PATH}/APIKEY.txt | |
|
||
EXPOSE 9001 | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
CMD ["/opt/etherpad/bin/run.sh"] | ||
CMD ["/opt/etherpad/bin/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters