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