forked from libresh/docker-etherpad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (27 loc) · 818 Bytes
/
Copy pathDockerfile
File metadata and controls
33 lines (27 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM node:0.10
RUN apt-get update && \
apt-get install -y gzip git curl python libssl-dev mysql-client && \
rm -r /var/lib/apt/lists/*
RUN cd /opt && \
git clone https://github.com/ether/etherpad-lite && \
cd etherpad-lite && \
bin/installDeps.sh && \
rm settings.json
RUN cd /opt/etherpad-lite &&
npm install \
ep_font_color \
ep_font_family \
ep_font_size \
ep_headings2 \
ep_hide_line_numbers \
ep_hide_referrer \
ep_horizontal_line \
ep_page_ruler \
ep_tables2
COPY entrypoint.sh /entrypoint.sh
VOLUME /opt/etherpad-lite/var
RUN ln -s /opt/etherpad-lite/var/settings.json /opt/etherpad-lite/settings.json
WORKDIR /opt/etherpad-lite
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bin/run.sh", "--root"]