diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile index 65f07e5..7543f3e 100644 --- a/images/etherpad/Dockerfile +++ b/images/etherpad/Dockerfile @@ -22,13 +22,14 @@ COPY --from=builder /srv/etherpad /srv/etherpad COPY settings.json /srv/etherpad/ ENV PYTHON /usr/bin/python3 -RUN mkdir -p /.npm && chown -R 70:70 /.npm /srv/etherpad +RUN mkdir -p /.npm RUN cd /srv/etherpad \ && install_packages python3 make gcc g++ libc-dev libc++-dev \ && ln -s /usr/bin/python3 /usr/bin/python \ && src/bin/installDeps.sh \ && npm install sqlite3 \ - && rm -rf /srv/etherpad/.git /.npm/_cacache + && rm -rf /srv/etherpad/.git /.npm/_cacache \ + && chown -R 70:70 /.npm /srv/etherpad # The rm -rf there is to save some space in the resulting container