Page MenuHomeDevCentral

No OneTemporary

diff --git a/Dockerfile b/Dockerfile
index a2a4653..18440fc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,41 +1,40 @@
#
# Docker image for Etherpad
#
FROM debian:buster
# Forked from Tony Motakis <tvelocity@gmail.com>
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
ENV NODE_ENV=production
RUN apt update && \
apt install -y curl unzip mariadb-client git sudo python libssl-dev pkg-config build-essential abiword && \
curl -sL https://deb.nodesource.com/setup_10.x | bash && \
apt install -y nodejs && \
rm -r /var/lib/apt/lists/*
RUN cd /opt && \
git clone https://github.com/ether/etherpad-lite && \
useradd --uid 9001 --create-home etherpad && \
chown -R etherpad:0 /opt/etherpad-lite
WORKDIR /opt/etherpad-lite
USER etherpad
RUN bin/installDeps.sh && \
rm -rf ~/.npm/_cacache && \
+ npm install ep_ether-o-meter && \
+ npm install ep_author_neat && \
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
-# Production plug-ins installation, as a separate layer to reuse master
-RUN npm install ep_ether-o-meter && npm install ep_author_neat
-
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["node", "node_modules/ep_etherpad-lite/node/server.js"]

File Metadata

Mime Type
text/x-diff
Expires
Thu, Sep 18, 09:03 (11 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2990287
Default Alt Text
(1 KB)

Event Timeline