Page MenuHomeDevCentral

D3261.id.diff
No OneTemporary

D3261.id.diff

diff --git a/Dockerfile b/Dockerfile
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,16 +18,19 @@
RUN cd /opt && \
git clone https://github.com/ether/etherpad-lite && \
useradd --uid 9001 --create-home etherpad && \
- chown -R etherpad:0 /opt/etherpad-lite
+ chown -R etherpad:0 /opt/etherpad-lite && \
+ npm install npm@6 -g
WORKDIR /opt/etherpad-lite
USER etherpad
-RUN bin/installDeps.sh && \
- rm -rf ~/.npm/_cacache && \
+RUN src/bin/installDeps.sh && \
+ rm -rf ~/.npm && \
rm settings.json
-COPY entrypoint.sh /entrypoint.sh
+USER root
+RUN cd src && npm link
+USER etherpad
VOLUME /opt/etherpad-lite/var
@@ -35,4 +38,4 @@
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
-CMD ["node", "node_modules/ep_etherpad-lite/node/server.js"]
+CMD ["etherpad"]

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 15:51 (4 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2255753
Default Alt Text
D3261.id.diff (798 B)

Event Timeline