etherpad: move chown

This commit is contained in:
Starbeamrainbowlabs 2020-09-27 13:20:39 +01:00
parent b0d1e74427
commit ec8ccd6439
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 2 deletions

View File

@ -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