From b0d1e74427f26450157556f8b50b2eb21a6d6d27 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 27 Sep 2020 01:44:50 +0100 Subject: [PATCH] etherpad: Move chown to real container, as it doesn't appear to carry over from the builder --- images/etherpad/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile index dfa0891..e16a4cc 100644 --- a/images/etherpad/Dockerfile +++ b/images/etherpad/Dockerfile @@ -12,14 +12,14 @@ ENV PYTHON /usr/bin/python3 RUN cd /srv/etherpad \ && ln -s /usr/bin/python3 /usr/bin/python \ && npm install \ - && npm install sqlite3 \ - && chown -R 70:70 /srv/etherpad + && npm install sqlite3 ############################################################################### FROM ${REPO_LOCATION}minideb-node -RUN mkdir -p /srv /.npm && chown -R 70:70 /.npm +RUN mkdir -p /srv /.npm \ + && chown -R 70:70 /.npm /srv/etherpad COPY --from=builder /srv/etherpad /srv/etherpad COPY settings.json /srv/etherpad/ USER 70:70