Commit 08568fcd authored by Angedestenebres's avatar Angedestenebres 🐈

Add libreoffice export

parent ad84c8a5
Pipeline #4210 passed with stage
in 4 minutes and 29 seconds
......@@ -40,7 +40,10 @@ ENV NODE_ENV=production
#
# Running as non-root enables running this image in platforms like OpenShift
# that do not allow images running as root.
RUN useradd --uid 5001 --create-home etherpad
RUN useradd --uid 5001 --create-home etherpad && \
mkdir -p /usr/share/man/man1
RUN apt-get update && apt-get install -y libreoffice
RUN mkdir /opt/etherpad-lite && chown etherpad:0 /opt/etherpad-lite
......@@ -73,5 +76,6 @@ COPY --chown=etherpad:0 ./settings.json.docker /opt/etherpad-lite/settings.json
# Fix permissions for root group
RUN chmod -R g=u .
ENV SOFFICE=/usr/bin/soffice
EXPOSE 9001
CMD ["node", "src/node/server.js"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment