Page MenuHomeDevCentral

Dockerfile
No OneTemporary

Dockerfile

# Stable version of etherpad doesn't support npm 2
FROM debian:jessie
MAINTAINER Tony Motakis <tvelocity@gmail.com>
ENV ETHERPAD_VERSION 1.5.2
RUN apt-get update && \
apt-get install -y curl unzip nodejs-legacy npm mysql-client && \
rm -r /var/lib/apt/lists/*
WORKDIR /opt/
RUN curl -SL \
https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip \
> etherpad.zip && unzip etherpad && rm etherpad.zip && \
mv etherpad-lite-${ETHERPAD_VERSION} etherpad-lite
WORKDIR etherpad-lite
RUN bin/installDeps.sh && rm settings.json
COPY entrypoint.sh /entrypoint.sh
VOLUME /opt/etherpad-lite/var
RUN ln -s var/settings.json settings.json
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bin/run.sh", "--root"]

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 19:25 (3 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4249156
Default Alt Text
Dockerfile (740 B)

Event Timeline