Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3766112
D3261.id8377.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
798 B
Referenced Files
None
Subscribers
None
D3261.id8377.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 16:32 (17 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2255753
Default Alt Text
D3261.id8377.diff (798 B)
Attached To
Mode
D3261: Refresh installation method
Attached
Detach File
Event Timeline
Log In to Comment