Page MenuHomeDevCentral

No OneTemporary

diff --git a/Dockerfile b/Dockerfile
index e58b755..58a6dce 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,31 +1,33 @@
#
# Docker image for Etherpad
#
-FROM debian:stretch
+FROM debian:buster
# 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 mysql-client git sudo python libssl-dev pkg-config build-essential abiword && \
- curl -sL https://deb.nodesource.com/setup_9.x | bash && \
- apt-get install -y nodejs && \
+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 && \
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
WORKDIR /opt/etherpad-lite
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bin/run.sh", "--root"]

File Metadata

Mime Type
text/x-diff
Expires
Sun, Oct 12, 00:40 (23 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064352
Default Alt Text
(1 KB)

Event Timeline