From ec8ccd6439aef5d787e1ca92b75f107a96b46b52 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 27 Sep 2020 13:20:39 +0100 Subject: [PATCH] etherpad: move chown --- images/etherpad/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile index e16a4cc..1bb0e19 100644 --- a/images/etherpad/Dockerfile +++ b/images/etherpad/Dockerfile @@ -18,10 +18,10 @@ RUN cd /srv/etherpad \ FROM ${REPO_LOCATION}minideb-node -RUN mkdir -p /srv /.npm \ - && chown -R 70:70 /.npm /srv/etherpad COPY --from=builder /srv/etherpad /srv/etherpad COPY settings.json /srv/etherpad/ +RUN mkdir -p /.npm && chown -R 70:70 /.npm /srv/etherpad + USER 70:70 ENV NODE_ENV production