mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Docker: Install and use link for etherpad
binary
This commit is contained in:
parent
83f2898723
commit
11de525508
1 changed files with 5 additions and 1 deletions
|
@ -96,7 +96,11 @@ COPY --chown=etherpad:etherpad ./settings.json.docker "${EP_DIR}"/settings.json
|
||||||
# Fix group permissions
|
# Fix group permissions
|
||||||
RUN chmod -R g=u .
|
RUN chmod -R g=u .
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN cd src && npm link
|
||||||
|
USER etherpad
|
||||||
|
|
||||||
HEALTHCHECK --interval=20s --timeout=3s CMD curl -f http://localhost:9001 || exit 1
|
HEALTHCHECK --interval=20s --timeout=3s CMD curl -f http://localhost:9001 || exit 1
|
||||||
|
|
||||||
EXPOSE 9001
|
EXPOSE 9001
|
||||||
CMD ["node", "src/node/server.js"]
|
CMD ["etherpad"]
|
||||||
|
|
Loading…
Reference in a new issue