Page MenuHomeDevCentral
Paste P104

nasqueron/docker-etherpad/Dockerfile
ActivePublic

Authored by dereckson on Jul 21 2015, 15:13.
#
# Docker image for Etherpad
#
FROM debian:jessie
# Forked from Tony Motakis <tvelocity@gmail.com>
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
RUN apt-get update && \
apt-get install -y curl unzip nodejs-legacy npm mysql-client git && \
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
COPY entrypoint.sh /entrypoint.sh
VOLUME /opt/etherpad-lite/var
RUN ln -s /opt/etherpad-lite/var/settings.json /opt/etherpad-lite/settings.json
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/opt/etherpad-lite/bin/run.sh", "--root"]

Event Timeline

dereckson changed the title of this paste from untitled to nasqueron/docker-etherpad/Dockerfile.
dereckson updated the paste's language from autodetect to autodetect.