Skip to content
Snippets Groups Projects
Commit 43e19ed9 authored by Roma's avatar Roma
Browse files

key mounting works, but script is broke

parent 50c2d757
No related branches found
No related tags found
1 merge request!57Delete pad after delay
......@@ -96,9 +96,12 @@ COPY entrypoint.sh /opt/etherpad-lite/entrypoint.sh
RUN chmod +x /opt/etherpad-lite/entrypoint.sh && \
usermod -d /opt/etherpad-lite etherpad
# Create path owned by etherpad to mount the API key
RUN mkdir /mountedAPIkey && chown etherpad:etherpad /mountedAPIkey
# Settings for entrypoint
USER etherpad
EXPOSE 8080
HEALTHCHECK --interval=20s --timeout=3s CMD curl --fail http://localhost:8080 || exit 1
WORKDIR /opt/etherpad-lite/
ENTRYPOINT ["/opt/etherpad-lite/entrypoint.sh", "/bin/bash", "-c", "/opt/etherpad-lite/bin/run.sh" ]
ENTRYPOINT ["/opt/etherpad-lite/entrypoint.sh", "/opt/etherpad-lite/bin/run.sh" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment